2014-11-23 04:36:52 +01:00
|
|
|
language: node_js
|
2018-12-13 03:28:54 +01:00
|
|
|
cache:
|
|
|
|
yarn: true
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2014-11-23 04:36:52 +01:00
|
|
|
node_js:
|
2018-11-16 23:47:34 +01:00
|
|
|
- '10.13.0'
|
2014-11-23 04:36:52 +01:00
|
|
|
install:
|
2019-01-10 02:35:37 +01:00
|
|
|
- travis_wait 30 yarn install --frozen-lockfile --network-timeout 1000000
|
2014-11-23 04:36:52 +01:00
|
|
|
script:
|
2018-05-07 21:53:20 +02:00
|
|
|
- yarn generate
|
2019-01-16 06:20:48 +01:00
|
|
|
- yarn lint-windows
|
2018-12-12 02:11:13 +01:00
|
|
|
- yarn test
|
2014-11-23 04:36:52 +01:00
|
|
|
env:
|
|
|
|
global:
|
2017-05-05 02:26:51 +02:00
|
|
|
- SIGNAL_ENV: production
|
2015-07-29 01:05:13 +02:00
|
|
|
sudo: false
|
2017-08-15 19:19:17 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|
2018-12-13 03:28:54 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2018-12-13 03:39:12 +01:00
|
|
|
- name: 'Linux'
|
2018-12-13 03:28:54 +01:00
|
|
|
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
|
2018-12-13 03:39:12 +01:00
|
|
|
- name: 'OSX'
|
|
|
|
os: osx
|
|
|
|
- name: 'Windows'
|
|
|
|
os: windows
|
2019-01-10 04:00:52 +01:00
|
|
|
cache: false
|
2018-12-13 03:39:12 +01:00
|
|
|
env:
|
|
|
|
- YARN_GPG=no
|
2019-01-17 00:04:19 +01:00
|
|
|
before_install:
|
|
|
|
- cd ../..
|
|
|
|
- mv $TRAVIS_REPO_SLUG _old
|
|
|
|
- git config --global core.autocrlf false
|
|
|
|
- git clone --depth=50 _old $TRAVIS_REPO_SLUG
|
|
|
|
- cd $TRAVIS_REPO_SLUG
|