summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 6cdb5493b8956028ef5259ca95d3050c8edb80aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: node_js
node_js:
  - "0.10"
  - "0.12"
  - "4"
  - "6"
addons:
  firefox: "49.0"
sudo: false
after_success: npm run coveralls

# Needed to run Karma with Firefox on Travis
# http://karma-runner.github.io/0.13/plus/travis.html
before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

script:
  # ensure buildable
  - make
  - npm test
  # test in firefox
  - npm run mocha-browser-test