mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
Update travis config to use run-tests script
And the README as well for good measure.
This commit is contained in:
parent
7cfe69c61b
commit
0341c9c5eb
2 changed files with 14 additions and 8 deletions
|
@ -8,4 +8,4 @@ services:
|
|||
|
||||
script:
|
||||
- docker-compose run web rake db:setup
|
||||
- docker-compose run -e CI=true -e TRAVIS=true -e TRAVIS_BRANCH=$TRAVIS_BRANCH -e TRAVIS_COMMIT=$TRAVIS_COMMIT -e TRAVIS_JOB_NUMBER=$TRAVIS_JOB_NUMBER -e TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -e TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG web rspec
|
||||
- docker-compose run -e CI=true -e TRAVIS=true -e TRAVIS_BRANCH=$TRAVIS_BRANCH -e TRAVIS_COMMIT=$TRAVIS_COMMIT -e TRAVIS_JOB_NUMBER=$TRAVIS_JOB_NUMBER -e TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -e TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG web bin/run-tests
|
||||
|
|
|
@ -76,3 +76,9 @@ docker.
|
|||
Edit the morph.yml file and insert the Morph API key
|
||||
1. Import the data from our scraper: `docker-compose run web rake import_papers`
|
||||
1. Build the elasticsearch index: `docker-compose run web rake index:rebuild`
|
||||
|
||||
### Running tests
|
||||
|
||||
Assuming docker and docker-compose is installed:
|
||||
|
||||
1. `docker-compose run web bin/run-tests`
|
||||
|
|
Loading…
Reference in a new issue