forked from angular/angularfire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (37 loc) · 1.03 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
42
43
44
language: node_js
sudo: false
node_js:
- '6'
addons:
firefox: latest
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
directories:
- node_modules
- typings
env:
- CXX=g++-4.8
install:
- npm install
- ./node_modules/.bin/typings 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