forked from grommet/grommet
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
48 lines (48 loc) · 5 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
language: node_js
node_js:
- '6.1.0'
sudo: false
cache:
directories:
- node_modules
before_script:
- npm install -g gulp
- npm install -g codeclimate-test-reporter
- gulp generate-index-icons
- gulp preprocess
- gulp dist-css
script:
- |
if [ "$TEST_TYPE" = build ]; then
npm test
else
if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then gulp $TEST_TYPE; fi
fi
after_success:
- |
if [ "$TEST_TYPE" = build ]; then
gulp coveralls
codeclimate-test-reporter < coverage/lcov.info
if [ "$TRAVIS_BRANCH" = "master" ]; then
git config credential.helper "store --file=.git/credentials"
echo "https://${GH_TOKEN}:@github.com" > .git/credentials
git config --global user.name "Grommet Community Bot"
git config --global user.email "asouza@hp.com"
gulp dist
gulp release:stable
fi
fi
env:
matrix:
- TEST_TYPE=build
global:
- secure: TIpFQ9neUyaM8wSydTnN00Tg1/iZH6gkbZsX45HYNugVA37NzSEzHB6n+dA6ZJzY8gaMFVf62MqNAngQLh9pdyqbt2NwQ0zmYqGIe77Xzxa7hvBzogL+Cvook+0kQh/OORj2VFxnfIXlC9On8Tpgv6f3gnbNDDxIxJHhux+8viD23XQMpYvyY2y14/8K9UrrdnbBchX0L+7BVASUUatvF7UuQ2R424WqoSp72XfUDpJ5uX+lKAMsaLGXQvK9h8RqE8ZtSaAD0pg1/bBgsxryZMNGH+0gUWZJDgLTyocLyS6oDamgyx0JR6rXqEtv+Z9kDQPspYwd0fsoMivcXLImPFp/lCLWosuGNCJG61Rzdjl44dxnjgYmEwg1+siwZbbhSzh4UdVqkjUPmFT7rezrU1I/PGEhS1jNcZSFu24shatJXWYDXNEFsqURICPrKyP13UaNOc4utRhxvOqzIQyBUPtJKwORFRsMwQ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