Moves awscli install to after script success
This commit is contained in:
parent
f501fc47fb
commit
13542d78c7
|
@ -17,8 +17,7 @@ before_install:
|
|||
- psql -c 'create database crc_test;' -U postgres
|
||||
|
||||
install:
|
||||
- pip install pipenv pytest coverage awscli
|
||||
- export PATH=$PATH:$HOME/.local/bin
|
||||
- pip install pipenv pytest coverage
|
||||
- pipenv install
|
||||
- pytest # <== This runs in Pipenv (a/k/a virtualenv)
|
||||
|
||||
|
@ -28,6 +27,10 @@ script:
|
|||
- coverage xml -i
|
||||
- sonar-scanner
|
||||
|
||||
after_success:
|
||||
- pip install --user awscli
|
||||
- export PATH=$PATH:$HOME/.local/bin
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: bash deploy.sh
|
||||
|
|
Loading…
Reference in New Issue