forked from Swiip/generator-gulp-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (35 loc) · 976 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
41
42
language: node_js
sudo: false
node_js:
- '0.10'
- '0.12'
- '4'
env:
global:
- secure: CxEg2hSOUgwATFFAbD5ycalZdVvaKSTGIVyVYGze7NCqNaDhaXr1VSfrdfu+GrPp6+cYPhBB8Rr0LaweyZPqiVEHFWBtUiOjl5PShOazyiCNTX6ZQUCTHYQVkoIyKYhP/WVzmy6MfhCnuSkA129EeQ6dVUr/8NlIW2/N8PgU018=
- GH_OWNER: zckrs
- GH_PROJECT_NAME: gulp-angular-boilerplate
cache:
directories:
- node_modules
- test/tmp/deps/node_modules
matrix:
fast_finish: true
install:
# Check the size of caches
- du -sh ./node_modules ./test/tmp/deps/node_modules || true
- npm install -g npm@latest
# Instal npm dependecies and ensure that npm cache is not stale
- ./scripts/generator-install-dependencies.sh
before_script:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- gem install sass
- npm install -g bower
- npm install -g gulp
script:
- npm test
after_success:
- bash <(curl -s https://codecov.io/bash)
- npm run deploy