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

update Travis caching

This commit is contained in:
Matthias Kretschmann 2019-06-07 14:46:02 +02:00
parent db9ef03547
commit 55db546394
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -3,8 +3,6 @@ language: node_js
node_js: node_js:
- '11' - '11'
# will run `npm install` automatically here
# Deploying uses awscli and it uses Python. # Deploying uses awscli and it uses Python.
# Xenial on Travis comes with Python 2 & 3 installed but 2 is default. # Xenial on Travis comes with Python 2 & 3 installed but 2 is default.
# Ensure pip3 is installed and upgraded. # Ensure pip3 is installed and upgraded.
@ -14,6 +12,7 @@ before_install:
- sudo -H pip3 install --upgrade pip - sudo -H pip3 install --upgrade pip
script: script:
# will run `npm ci` automatically here
- npm test - npm test
- 'if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then npm run build; fi' - 'if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then npm run build; fi'
@ -26,6 +25,6 @@ notifications:
email: false email: false
cache: cache:
npm: true
directories: directories:
- node_modules
- public - public