mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
44 lines
1,020 B
YAML
44 lines
1,020 B
YAML
language: node_js
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- node_modules
|
|
node_js:
|
|
- '10.13.0'
|
|
install:
|
|
- travis_wait 30 yarn install --frozen-lockfile --network-timeout 1000000
|
|
script:
|
|
- yarn generate
|
|
- yarn lint-windows
|
|
- yarn test
|
|
env:
|
|
global:
|
|
- SIGNAL_ENV: production
|
|
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
|
|
cache: false
|
|
env:
|
|
- YARN_GPG=no
|
|
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
|