forked from ReactiveX/rxjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (34 loc) · 1.09 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: node_js
sudo: false
node_js:
- '4.2.2'
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
sauce_connect:
# Update SAUCE_USERNAME / SAUCE_ACCESS_KEY in travis if necessary
# https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings
sauce_connect: true
cache:
directories:
- node_modules
env:
global:
- CXX=g++-4.8
- alias tsc=./node_modules/.bin/tsc
- alias grunt=./node_modules/grunt-cli/bin/grunt
before_install:
- npm install -g npm@3 && npm install [email protected] grunt-cli grunt-contrib-connect grunt-run
install:
- npm install && npm run lint
script:
- npm run build_spec && npm run test_mocha && node ./node_modules/markdown-doctest/bin/cmd.js
- npm run check_circular_dependencies
after_success:
- npm run cover
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ -n "${SAUCE_ACCESS_KEY}" ] && npm run build_spec_browser && grunt --gruntfile spec/support/mocha.sauce.gruntfile.js || false'