forked from angular/angularfire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 1.02 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
41
language: node_js
sudo: false
node_js:
- 'node'
addons:
firefox: latest
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache: npm
env:
- CXX=g++-4.8
install:
# ditched yarn, since it was acting up and giving old versions of tsc
- npm install
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- npm run build
- ./node_modules/.bin/karma start --single-run --browsers Firefox --reporters mocha
# Make sure the build that ships to npm builds without errors
- npm run build_npm
# Run integration test to make sure our typings are correct for user-land.
- node tools/run-typings-test.js
# Can't run until https://github.com/angular/protractor/issues/2784 is resolved
#- ./node_modules/.bin/protractor protractor.conf.js --browser firefox
notifications:
webhooks:
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false