mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 05:08:32 +00:00
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
|
- psql -c 'create database crc_test;' -U postgres
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install pipenv pytest coverage awscli
|
- pip install pipenv pytest coverage
|
||||||
- export PATH=$PATH:$HOME/.local/bin
|
|
||||||
- pipenv install
|
- pipenv install
|
||||||
- pytest # <== This runs in Pipenv (a/k/a virtualenv)
|
- pytest # <== This runs in Pipenv (a/k/a virtualenv)
|
||||||
|
|
||||||
@ -28,6 +27,10 @@ script:
|
|||||||
- coverage xml -i
|
- coverage xml -i
|
||||||
- sonar-scanner
|
- sonar-scanner
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- pip install --user awscli
|
||||||
|
- export PATH=$PATH:$HOME/.local/bin
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
script: bash deploy.sh
|
script: bash deploy.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user