File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ cache: npm
5
5
matrix :
6
6
include :
7
7
- os : linux
8
- dist : trusty
8
+ dist : bionic
9
9
node_js : " 10"
10
10
- os : osx
11
11
osx_image : xcode11
12
12
node_js : " 10"
13
13
- os : linux
14
- dist : trusty
14
+ dist : bionic
15
15
node_js : " 11"
16
16
- os : osx
17
17
osx_image : xcode11
18
18
node_js : " 11"
19
19
- os : linux
20
- dist : trusty
20
+ dist : bionic
21
21
node_js : " 12"
22
22
- os : osx
23
23
osx_image : xcode11
@@ -28,31 +28,35 @@ addons:
28
28
sources :
29
29
- ubuntu-toolchain-r-test
30
30
packages :
31
+ - cmake
31
32
- libx11-dev
32
33
- zlib1g-dev
33
- - libpng12 -dev
34
+ - libpng -dev
34
35
- libxtst-dev
35
36
- g++-4.8
36
37
- gcc-4.8
37
38
39
+ services :
40
+ - xvfb
41
+
38
42
before_install :
39
43
- node --version
40
44
- npm --version
41
45
42
46
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
43
47
- $CXX --version
44
48
45
- before_script :
49
+ # before_script:
46
50
# 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
49
53
50
54
install : true
51
55
52
56
script :
53
57
- npm run patch && npm i
54
58
- 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
56
60
57
61
before_deploy :
58
62
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
You can’t perform that action at this time.
0 commit comments