Skip to content

Commit 56fd6c2

Browse files
author
Simon Hofmann
committed
Update to bionic
1 parent 9884ed2 commit 56fd6c2

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.travis.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ cache: npm
55
matrix:
66
include:
77
- os: linux
8-
dist: trusty
8+
dist: bionic
99
node_js: "10"
1010
- os: osx
1111
osx_image: xcode11
1212
node_js: "10"
1313
- os: linux
14-
dist: trusty
14+
dist: bionic
1515
node_js: "11"
1616
- os: osx
1717
osx_image: xcode11
1818
node_js: "11"
1919
- os: linux
20-
dist: trusty
20+
dist: bionic
2121
node_js: "12"
2222
- os: osx
2323
osx_image: xcode11
@@ -28,31 +28,35 @@ addons:
2828
sources:
2929
- ubuntu-toolchain-r-test
3030
packages:
31+
- cmake
3132
- libx11-dev
3233
- zlib1g-dev
33-
- libpng12-dev
34+
- libpng-dev
3435
- libxtst-dev
3536
- g++-4.8
3637
- gcc-4.8
3738

39+
services:
40+
- xvfb
41+
3842
before_install:
3943
- node --version
4044
- npm --version
4145

4246
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
4347
- $CXX --version
4448

45-
before_script:
49+
# before_script:
4650
# Start xvfb
47-
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; fi
48-
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
51+
# - if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; fi
52+
# - if [[ $TRAVIS_OS_NAME == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
4953

5054
install: true
5155

5256
script:
5357
- npm run patch && npm i
5458
- if [[ $TRAVIS_OS_NAME = "windows" ]]; then npm run build:release:win; else npm run build:release; fi
55-
- npm test
59+
- xvfb-run npm test
5660

5761
before_deploy:
5862
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null

0 commit comments

Comments
 (0)