forked from GoogleFellow/cnrv-home
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (27 loc) · 2.65 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
language: ruby
before_cache:
- mkdir -p $HOME/.cache
cache:
- bundler
- directories:
- $HOME/.cache
sudo: false
rvm: 2.3
env:
global:
- secure: tbbfviUOghXi1Pbrppwe6YU+dTAnPzx84+nKgfkdscM7jagJPRkDYuJMV8AA+akmXWH2toAhA9IK/bKcRbgh2U6peuJaHDYiY+ZldkIKaSjj2wLSEICtXBnSMb1G0rPeQNYzNHx1bHfzYYyCrAvDVTXwBigDbtNU5wEjQf/G9FNpF+qoOPDnWranpxw+fh9uRoxmhQ8nDR+D51Cp7OJHOehD//Ju+2Xvj3BiHocZfcwz2uotpM6MO8OHLqsU1RKUeLaX0hvDQfs8F7sgIrBUTwljkAVDMA5nb8oej1VkLxEYH6v0yDPpebPHtgSk4SJ/q5JsYiPeJOnj/7rUEgZMRR4oRA2ctj+hZh37RKJI4NMk0kHtpf/TJfY39T/54DDG5pUK4p5R5SAOpq4KJEBtBErgAbpdfJ2ntF9V6tb7LKVwbhQGcQGAie0zg6k/B+jpc+MfP2qDpKBFJvp5Io3Y2whul+fxZJhmMSJhBtXWdTVQP6RcstsrKP4ibdZwOrNo1ytubQHWBqnbV6HWVUy9s64O+lMh8PJeNbJ4p9biuHK/3HSp9MQATRlqAn0RgE9QTTcWR6a8TO7UbjLVc+M9aA4tCkhFJ5xsIAbuViy/79JLrzglGA7dTK544QAIh62H0cHq4zZ7MR/kzW9GPlPB5Gf8QpxurSTufI6p1bMAPVM=
- secure: spSYBBueWlHKGKnID7pYPLFbHJeMCR6MPvOIS+0UuvDDkthQYbrWnQVxuhZvuPu6EIeIW7AzJXNennh2byQ1itVHbOPoS8D/7AkeWpf8RV1nVmeOjQH4egOhUuZ0aYnhewosP/Kiyzubmm13c3u1KgdMtH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KwCCoFuZ+iBPHKnQ/WvlyPiHRF8rsBTE/a1bVpoRzhMDDcgi4hP9+m7aa949d9XGfaXHG4vxR3FWravHTXpI/NDP/6X5rs2Agcpcx9Q/YifZJ9BlvXdli184hmv31YpC7vQwABcvRs=
install:
- script/bootstrap
- mkdir -p $HOME/.cache
- cp $HOME/.cache/ossutil . || wget http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/50452/cn_zh/1504508602547/ossutil64 -O ossutil && cp -f ossutil $HOME/.cache
- chmod +x ossutil
script:
- script/cibuild
- "./ossutil --version"
- python script/upload_n_set_header.py > upload_n_set_header.sh
- if [ "x$TRAVIS_BRANCH" = 'xmaster' ]; then sh ./upload_n_set_header.sh; fi
branches:
only:
- master