forked from OctoLinker/OctoLinker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 993 Bytes
/
.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
dist: trusty
sudo: false
addons:
firefox: latest
apt:
packages:
- google-chrome-stable
language: node_js
node_js:
- 10
cache:
yarn: true
# Use npm > 4 to fix https://github.com/npm/npm/issues/14042
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.7.0
- export PATH=$HOME/.yarn/bin:$PATH
before_script:
- git diff --exit-code # make sure that yarn.lock didn't change
- ./packages/blob-reader/scripts/update-fixtures.sh
script:
- travis_retry yarn test && codecov
- yarn build
- yarn e2e
deploy:
- provider: script
script: yarn package
skip_cleanup: true
on:
tags: true
- provider: releases
api_key: "$GH_DEPLOY"
file_glob: true
file: "out/*.zip"
skip_cleanup: true
on:
tags: true
- provider: script
script: yarn release
skip_cleanup: true
on:
tags: true