This repository has been archived by the owner on Jun 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (64 loc) · 3.45 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: node_js
node_js:
- node
- '8'
sudo: false
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2
- export PATH=$HOME/.yarn/bin:$PATH
- export BRANCH="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
- yarn global add greenkeeper-lockfile@1
- yarn global add codecov
cache: false
install:
- |
if [[ $BRANCH == "greenkeeper/"* ]]; then
echo Greenkeeper build; yarn install;
else
echo Normal build - frozen lockfile; yarn install --frozen-lockfile;
fi
before_script: greenkeeper-lockfile-update
script:
- yarn test
- codecov -f coverage/coverage-final.json
after_script: greenkeeper-lockfile-upload
stages:
- name: test
- name: deploy
if: tag =~ ^v AND fork = false AND type = push
jobs:
include:
- stage: test
if: type = cron
node_js: '8'
os: osx
osx_image: xcode9.2
- stage: test
if: type = cron
node_js: '7'
- stage: test
if: type = cron OR tag =~ ^v
node_js: '6'
- stage: deploy
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2
- export PATH=$HOME/.yarn/bin:$PATH
install: []
before_script: []
script:
- yarn install --frozen-lockfile
- yarn test
- yarn tidy-ci
after_script: []
deploy:
provider: npm
email: github-external-bot@holvonix.com
skip_cleanup: true
api_key: "$NPM_API_KEY"
on:
tags: true
env:
global:
- secure: kuw1uLG1P4Dvzzm6MAIPx2e0fuYw+CracYEWVu9UBroeBkkaQh3ixmXM5HObvjfOPjyS/aoPDB3akHBU7IasR6sgq0itEfkY1WGeb5qht1flshbq0+uj4Cnl+WQRmKGN1lGRg7PaOrMtBVemW+DLO4M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