1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00
market/.travis.yml

31 lines
722 B
YAML
Raw Normal View History

2020-05-07 08:03:30 +02:00
dist: xenial
language: node_js
node_js: node
cache:
npm: true
before_install:
- sudo apt-get -qq update
- sudo apt-get install python3-pip
- sudo -H pip3 install --upgrade pip
- sudo -H pip3 install -U setuptools
2020-05-07 08:03:30 +02:00
before_script:
2020-07-08 18:07:34 +02:00
# - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
# - chmod +x ./cc-test-reporter
# - './cc-test-reporter before-build'
2020-05-07 08:03:30 +02:00
script:
# will run `npm ci` automatically here
2020-07-08 18:07:34 +02:00
- npm run lint
# - './cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT'
2020-05-07 08:03:30 +02:00
- npm run build
after_success:
- pip3 install --user awscli
- export PATH=$PATH:$HOME/.local/bin
- npm run deploy
2020-05-07 08:03:30 +02:00
notifications:
email: false