autorest/.travis.yml

19 строки
653 B
YAML

language: node
dist: trusty
language: node_js
install:
# dotnet 2.0 prereq
- sudo apt-get install libunwind8
# Install npm
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 7.10.0
- npm install -g npm@'>=5.4.0'
- npm install
script:
- set -e
- set -o pipefail
- npm run build
- npm run testci
notifications:
slack:
secure: d0PFVLcyqcMxNtmZ8JaEpIBzXbUbZCgKs8QtBB5qEIXDnxflSR3AhczlILNhTBKtMEBlwVzsz65yP09XcmvB6xpAfJbHqSRzk2frKa5viPcAD8Wr/NYamt9/UiTCsnql8MqzjVy0tLdMscXKRmsUey4YF570zl0b7gAbq7XTqxM=