Moves awscli install to install step
This commit is contained in:
parent
a322801c91
commit
e866c2c4bb
|
@ -17,7 +17,8 @@ before_install:
|
|||
- psql -c 'create database crc_test;' -U postgres
|
||||
|
||||
install:
|
||||
- pip install pipenv pytest coverage
|
||||
- pip install pipenv pytest coverage awscli
|
||||
- export PATH=$PATH:$HOME/.local/bin;
|
||||
- pipenv install
|
||||
- pytest # <== This runs in Pipenv (a/k/a virtualenv)
|
||||
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install AWS CLI
|
||||
pip install --user awscli;
|
||||
export PATH=$PATH:$HOME/.local/bin;
|
||||
|
||||
# Build and push Docker image to Docker Hub
|
||||
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
docker build --no-cache -t sartography/cr-connect-backend:latest . || exit 1;
|
||||
|
|
Loading…
Reference in New Issue