mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-18 15:26:19 +08:00
travis.yml clean-up test
This commit is contained in:
parent
ebcf7906ee
commit
74390aa21e
12
.travis.yml
12
.travis.yml
@ -2,6 +2,7 @@ sudo: required
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
|
node_js: "10"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@ -17,7 +18,6 @@ matrix:
|
|||||||
env: CC=clang CXX=clang++ npm_config_clang=1
|
env: CC=clang CXX=clang++ npm_config_clang=1
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
|
||||||
node_js: "10"
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
@ -39,15 +39,7 @@ addons:
|
|||||||
install:
|
install:
|
||||||
- nvm install 10
|
- nvm install 10
|
||||||
- npm install electron-builder
|
- npm install electron-builder
|
||||||
- npm install
|
|
||||||
- export DISPLAY=':99.0'
|
|
||||||
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- export DISPLAY=:99.0
|
|
||||||
- sh -e /etc/init.d/xvfb start &
|
|
||||||
- sleep 3
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm run dist
|
- npm run dist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user