summaryrefslogtreecommitdiff
path: root/thirdparty/preact/.travis.yml
blob: 8a5ff0a0d997bb51fc479fcc893b2ba1fe99942d (plain)
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
sudo: false

language: node_js

node_js:
  - "6"

cache:
  directories:
    - node_modules

# Make chrome browser available for testing
before_install:
  - export CHROME_BIN=chromium-browser
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

install:
  - npm install

script:
  - npm run build
  - npm run test
  - BROWSER=true COVERAGE=false FLAKEY=false PERFORMANCE=false npm run test:karma

# Necessary to compile native modules for io.js v3 or Node.js v4
env:
  - CXX=g++-4.8

# Necessary to compile native modules for io.js v3 or Node.js v4
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8