Skip to content

Commit

Permalink
added expect in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed Jan 25, 2018
1 parent 97a8b29 commit 7b7e37e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
language: node_js

node_js:
- "5"
- "6"

matrix:
include:
- os: linux
services: docker
env: CONTAINER=ubuntu:latest
- os: osx

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 brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && ! $(which expect) ]] ; then brew install expect ; fi

script:
- "npm run test"
- "bash ./scripts/gen.sh"

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

0 comments on commit 7b7e37e

Please sign in to comment.