also install hex in ci

This commit is contained in:
Tao Bror Bojlén 2019-07-17 18:42:49 +03:00
parent ad51116249
commit 6874079e49
No known key found for this signature in database
GPG Key ID: C6EC7AAB905F9E6F
2 changed files with 7 additions and 2 deletions

View File

@ -19,16 +19,21 @@ test-frontend:
backend-sobelow:
stage: test
image: elixir:1.9-alpine
image: elixir:1.9
only:
changes:
- backend/*
before_script:
- cd backend
script:
- mix local.hex
- mix deps.get
- mix deps.compile
- mix sobelow --config
cache:
paths:
- backend/deps/
- backend/build/
deploy-backend-develop:
stage: deploy

View File

@ -4,7 +4,7 @@
- This project requires Elixir >= 1.9.
- Run with `SKIP_CRAWL=true` to just run the server (useful for working on the API without also crawling)
- This project is automatically scanned for potential vulnerabilities with [Sobelow](https://sobelow.io/).
- The backend is automatically scanned for potential vulnerabilities with [Sobelow](https://sobelow.io/).
## Deployment