forked from glimmerjs/glimmer-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 876 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
language: node_js
node_js:
- 6
sudo: false
before_install:
- npm update -g npm
- mkdir travis-phantomjs
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs:$PATH
install:
# This is to "fix" an NPM bug that "forgets" to install the right version of glob in the first npm install :(
- npm install
- npm install --ignore-scripts
env:
global:
- SAUCE_USERNAME=htmlbars-ci
- SAUCE_ACCESS_KEY=71947947-f373-4e9c-9166-23038df7ddf2
matrix:
- TEST_NODE=1 TEST_BROWSERS=1
matrix:
fast_finish: true
before_script:
- npm run sauce:connect
script:
- npm run test:ci
after_script:
- sleep 10
- npm run sauce:disconnect