mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-10-04 00:20:20 +00:00
21 lines
596 B
YAML
21 lines
596 B
YAML
language: node_js
|
|
os:
|
|
- linux
|
|
- osx
|
|
node_js:
|
|
- 6
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq install g++-4.8 ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8 ; fi
|
|
- npm install -g npm@5.1.0
|
|
env:
|
|
matrix:
|
|
- NPM_COMMAND=lint
|
|
- NPM_COMMAND=test
|
|
notifications:
|
|
email: false
|
|
script: npm run $NPM_COMMAND
|
|
after_success: npm run coveralls
|