Added support for osx.

pull/103/head
Mikunj 7 years ago
parent b5589d4969
commit f86c96b068

@ -1,22 +1,15 @@
language: node_js language: node_js
cache: yarn cache:
yarn: true
directories:
- node_modules
node_js: node_js:
- '8.9.3' - '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: install:
- yarn install --frozen-lockfile - yarn install --frozen-lockfile
script: script:
- export SIGNAL_ENV=production
- yarn generate - yarn generate
- Xvfb -ac -screen scrn 1280x2000x24 :9.0 &
- export DISPLAY=:9.0
- export LC_ALL=en_US
- yarn test - yarn test
env: env:
global: global:
@ -24,3 +17,17 @@ env:
sudo: false sudo: false
notifications: notifications:
email: false email: false
matrix:
include:
- name: 'Linux Test'
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 Test'
os: osx
Loading…
Cancel
Save