forked from brython-dev/brython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (25 loc) · 923 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
sudo: required
language: javascript
addons:
chrome: stable
firefox: "59.0"
cache:
directories:
- "travis_phantomjs"
before_install:
- mkdir qunit
- wget -O qunit/qunit-1.18.0.css http://code.jquery.com/qunit/qunit-1.18.0.css
- wget -O qunit/qunit-1.18.0.js http://code.jquery.com/qunit/qunit-1.18.0.js
- npm install testem
- ./node_modules/.bin/testem launchers
# A newer version of libnss3 is needed for the latest Chrome version
- sudo apt-get --only-upgrade install libnss3
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# - chmod a+x scripts/ensure_phantomjs.sh
# - scripts/ensure_phantomjs.sh
# - export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH
script:
- ./node_modules/.bin/testem --skip PhantomJS,Chromium -t www/tests/qunit/run_tests.html ci
#- phantomjs phantomjs/examples/run-qunit.js www/tests/qunit/run_tests.html