Skip to content

Commit

Permalink
fix: fix travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed Jul 4, 2020
1 parent c8618b0 commit 8760d41
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
@@ -1,7 +1,7 @@
language: node_js

node_js:
- "8"
- '10'

matrix:
include:
Expand All @@ -11,19 +11,19 @@ matrix:
sudo: false

before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then sudo apt-get -qq update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && ! $(which expect) ]] ; then sudo apt-get install -y expect ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then stty cols 80 ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && ! $(which expect) ]] ; then brew install expect ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then sudo apt-get -qq update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && ! $(which expect) ]] ; then sudo apt-get install -y expect ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then stty cols 80 ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && ! $(which expect) ]] ; then brew install expect ; fi

install:
- "npm install"
- "npm run bootstrap"
- 'npm install'
- 'npm run bootstrap'

script:
- "npm run test"
- "npm run bootstrap:prod"
- "npm run test:build"
after_script: "npm install coveralls && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
- 'npm run test'
- 'npm run bootstrap:prod'
- 'npm run test:build'

after_script: 'npm install coveralls && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage'

0 comments on commit 8760d41

Please sign in to comment.