]>
Commit | Line | Data |
---|---|---|
1 | language: node_js | |
2 | os: | |
3 | - linux | |
4 | - osx | |
5 | node_js: | |
6 | - 6 | |
7 | before_install: | |
8 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test ; fi | |
9 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi | |
10 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq install g++-4.8 ; fi | |
11 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8 ; fi | |
12 | env: | |
13 | matrix: | |
14 | - NPM_COMMAND=lint | |
15 | - NPM_COMMAND=test | |
16 | notifications: | |
17 | email: false | |
18 | script: npm run $NPM_COMMAND | |
19 | after_success: npm run coveralls |