-
Notifications
You must be signed in to change notification settings - Fork 32
/
.travis.yml
44 lines (36 loc) · 1.41 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
os:
- linux
- osx
language: node_js
node_js: 8
sudo: false
matrix:
allow_failures:
- os: osx
fast_finish: true
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sleep 3; fi
cache:
yarn: true
install:
- curl -L https://yarnpkg.com/latest.tar.gz | tar xz && mv yarn-* $HOME/.yarn
- export PATH="$HOME/.yarn/bin:$PATH"
- yarn
script:
- npm run test
before_deploy:
- npm run build
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: SaVLCQxO+jMOdS2WpVpgiA170Nkf3AM5ysVOknrUxei2oYnmUWQWvP3fs3bFXN2S9xoLVvrpYTeio803SErd26CpkHaMik6JSrBT5nWTIQNTXb+YXbzpuuZWRlsRGa2jYRLPqWCTJo2Y1enO0k9yaKsk0MkqhkfY3muja8dgRTQnW2R09ZoP9Iz1OgnGMkES2wlOkuOQUyZYJi0aU9KM0mzZh3H2Z27sSF8aOjbbAac4EqvPTRpKCviMjhAD3MX8+E2IcYfJmi/J8TN64/qhi5yKpBD6PB6A3zKlxhCtqiO2SO8dTBCUd74WdM+0xHTBwaBdwwJsTXVRwmZM3+MoYv4vkFBi1GrvEkXqckk/FnQzWstZf1kzadwU81mucxnjHNJT1OGtM0F4KpBzF3dBvca3FCg4ZuKL/f4l5YEtSKhACCLDB7aaZ8FtAonYIxhaArskvBZ3EhRRtKpwtfkEJ4b4/yuIr6j4PNXFP5bU8VAyTRuGD4ikDf+uyPQ3TF20EXHTtQxyZ16aNex7mOhAJRi/YrpbTmDzoEQHRWkSAnsgMSt8EHr0Z/l10Egjh5XC1RMdUSCxjHU+LRuskuueOXKAc1NYvtEc3bpDYU0Ywc/drTmkSsyVbCtBcxnlMllEaLe8qZqCk225328ayUFvmWK/jl6n83aeLjvejU8NtLQ=
file:
- "dist/h2-*.dmg"
- "dist/h2-*.AppImage"
- "dist/h2-*.exe"
on:
tags: true
condition: $TRAVIS_OS_NAME = osx