1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

.travis.yml ignores alias; use something else

This commit is contained in:
Troy McConaghy 2019-03-11 14:28:49 +01:00
parent 4e2c8ccc39
commit b78d5f3142

View File

@ -17,9 +17,10 @@ script:
- npm test
- 'if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then npm run build; fi'
# Try to ensure Python 3 and pip3 get used for deployment:
# Try to ensure Python 3 and pip3 get used for deployment.
# Note that "alias" commands do not work in .travis.yml
after_success:
- alias python=python3
- pyenv global 3.6
- pip3 install --user awscli
- export PATH=$PATH:$HOME/.local/bin
- npm run deploy