forked from lucassus/angularjs-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (31 loc) · 768 Bytes
/
.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
sudo: required
dist: trusty
language: node_js
node_js:
- 6.11
addons:
firefox: latest
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
- export CHROME_BIN=/usr/bin/google-chrome
install:
- yarn global add gulp
- yarn global add codecov
before_script:
- yarn install
script:
- gulp lint
- gulp server:test
- gulp test --browsers=PhantomJS
- gulp test --browsers=Chrome
- gulp test --browsers=Firefox
- yarn run dev-server &
- ./e2e/run-tests
after_success:
- codecov