forked from grommet/grommet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (62 loc) · 4.12 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
language: node_js
node_js:
- '0.12'
sudo: false
cache:
directories:
- node_modules
- server/node_modules
- docs/node_modules
before_script:
- npm install -g gulp
- npm install -g codeclimate-test-reporter
- gem install scss-lint -v 0.38.0
- gulp preprocess
- cd server && npm install && cd ..
- cd docs && npm install && cd ..
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 < 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 "[email protected]"
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/PGEhS1jNcZ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2b1wGG/EoZlZcaH2q9lE+1hmyli7MAW3aCmpCEoDUFPq5a8fcdDnYiGV5s1TPbPGvOsd2kYmeFnh71po+GgO07c+1QPLAXiW0YO8hzENi6HMcAdqcKMFXFWYD0fMNPSES/HwIFlAW/c1UBdh7KYCpZ4zljLrHyj1CAM8jXWJ7MTbJYsYHFNHA4eWNZotNLYvQgvs=
matrix:
fast_finish: true
allow_failures:
- env: TEST_TYPE=integration:osx
- env: TEST_TYPE=integration:linux
- env: TEST_TYPE=integration:windows
include:
- env: TEST_TYPE=integration:osx
addons:
sauce_connect: true
- env: TEST_TYPE=integration:linux
addons:
sauce_connect: true
- env: TEST_TYPE=integration:windows
addons:
sauce_connect: true