-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
41 lines (35 loc) · 996 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
dist: trusty
sudo: false
group: beta
language: node_js
node_js:
- "6"
- "7"
addons:
apt:
packages:
- php5
- php5-curl
- php5-cli
- php5-intl
before_install:
- gem update --system
- gem install sass
- php --version
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then php -r "readfile('https://getcomposer.org/installer');" | php && php composer.phar config -g github-oauth.github.com $GH_AUTH; fi
- npm update -g npm
- npm install -g bower grunt-cli jspm yarn gulp
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then jspm config registries.github.auth $JSPM_AUTH; fi
- currentfolder=${PWD##*/}
- if [ "$currentfolder" != 'generator-sf' ]; then cd .. && eval "mv $currentfolder generator-sf" && cd generator-sf; fi
- yarn
before_script:
- phpenv config-rm xdebug.ini
matrix:
fast_finish: true
cache:
directories:
- node_modules
- test/fixtures/bower_components
- test/fixtures/jspm_packages
after_success: npm run coveralls