Merge pull request #103 from Mikunj/travis

Added travis support for osx and windows
pull/106/head
sachaaaaa 7 years ago committed by GitHub
commit 42d3e481f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,22 +1,14 @@
language: node_js
cache: yarn
cache:
yarn: true
directories:
- node_modules
node_js:
- '8.9.3'
os:
- linux
dist: trusty
before_install:
- whoami
- node -v
- yarn -v
- sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgconf-2-4 libasound2 libxtst6 libxss1 libnss3 xvfb hunspell-en-us
install:
- yarn install --frozen-lockfile
- yarn install --frozen-lockfile --network-timeout 1000000
script:
- yarn generate
- Xvfb -ac -screen scrn 1280x2000x24 :9.0 &
- export DISPLAY=:9.0
- export LC_ALL=en_US
- yarn test
env:
global:
@ -24,3 +16,21 @@ env:
sudo: false
notifications:
email: false
matrix:
include:
- name: 'Linux'
os: linux
dist: trusty
before_install:
- sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgconf-2-4 libasound2 libxtst6 libxss1 libnss3 xvfb hunspell-en-us
before_script:
- Xvfb -ac -screen scrn 1280x2000x24 :9.0 &
- export DISPLAY=:9.0
- export LC_ALL=en_US
- name: 'OSX'
os: osx
- name: 'Windows'
os: windows
env:
- YARN_GPG=no

Loading…
Cancel
Save