forked from intelsdi-x/snap-plugin-publisher-file
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (70 loc) · 3.8 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
65
66
67
68
69
70
# File managed by pluginsync
sudo: false
language: go
go:
- 1.6.3
- 1.7.1
env:
global:
- ORG_PATH=/home/travis/gopath/src/github.com/intelsdi-x
- SNAP_PLUGIN_SOURCE=/home/travis/gopath/src/github.com/${TRAVIS_REPO_SLUG}
matrix:
- TEST_TYPE=small
- TEST_TYPE=build
matrix:
exclude:
- go: 1.6.3
env: TEST_TYPE=build
before_install:
- "[[ -d $SNAP_PLUGIN_SOURCE ]] || mkdir -p $ORG_PATH && ln -s $TRAVIS_BUILD_DIR $SNAP_PLUGIN_SOURCE"
install:
- cd $SNAP_PLUGIN_SOURCE
- make deps
script:
- make check 2>&1
notifications:
email: false
slack:
secure: VkbZLIc2RH8yf3PtIAxUNPdAu3rQQ7yQx0GcK124JhbEnZGaHyK615V0rbG7HcVmYKGPdB0cXqZiLBDKGqGKb2zR1NepOe1nF03jxGSpPq8jIFeEXSJGEYGL34ScDzZZGuG6qwbjFcXiW5lqn6t8igzp7v2+URYBaZo5ktCS2xY=
before_deploy:
- "./scripts/pre_deploy.sh"
deploy:
- provider: s3
access_key_id: AKIAINMB43VSSPFZISAA
secret_access_key:
secure: PTsYNpPnWQIQSkHcmS8BzTzug/HpkN6y2BMrBjy758jEkHFK7PMld0O3EWg1PZJmg7tq+yByChkBiEvcG9QWKPMP6CVbOT95ByJRp7vGi+Rta1SxMbcht/JtiCitqmf7GUubWBmuoipbf703+4HT6h4GxMXsvKKAWIjQrE4g8PGykFJbn+kpCsurNUOYqWgLXgeqequkWfZghs8SXXoWLAh7rwzosSm5sdSOp8xATtJzudmwGIqs44FFJEYWDBwwX+d2cCIHC0MwOBWSWqnXpbMxH1zvcUu6tJY5p6hvDaxGQ4LdDieIDeIjsTS3zmj3tEsWUlL2+rIo3x9HD+ZumVZE15rGGksaKxyTeeQZOHGOP8lYIgg8KSC9gLv6r9S2pTvec/sI82euKe4wUXimNJri2FkOx4Agt02/TYpihzJH9hLm1YqSBKYXOrl1Jd/rj7BuMPa4JJeBXswYCsscU7zpdc76gWoA+51ZM3tZ+i5LrxwySPcnI1rnfoP34RaBx0mk2ong3UHbf12M5Nwp5rIO542b0dE3nIPWln2BjXWbcKTYZhipjOFBoHiLTzQHW93d5s7+iKQNfNbSbReBT0qFq2S/pHwKBrkeVoHqXWD8p17MrhkfgT008MhDFp2C7U+HGzfx7SBH0AjKqb8XRjXOqEq9soCQjK8ijQ5a6Y4=
bucket: snap.ci.snap-telemetry.io
region: us-west-2
skip_cleanup: true
local-dir: s3
upload-dir: plugins
acl: public_read
on:
repo: intelsdi-x/snap-plugin-publisher-file
branch: master
condition: $TEST_TYPE = "build" && $TRAVIS_GO_VERSION = "1.7.1"
- provider: s3
access_key_id: AKIAINMB43VSSPFZISAA
secret_access_key:
secure: PTsYNpPnWQIQSkHcmS8BzTzug/HpkN6y2BMrBjy758jEkHFK7PMld0O3EWg1PZJmg7tq+yByChkBiEvcG9QWKPMP6CVbOT95ByJRp7vGi+Rta1SxMbcht/JtiCitqmf7GUubWBmuoipbf703+4HT6h4GxMXsvKKAWIjQrE4g8PGykFJbn+kpCsurNUOYqWgLXgeqequkWfZghs8SXXoWLAh7rwzosSm5sdSOp8xATtJzudmwGIqs44FFJEYWDBwwX+d2cCIHC0MwOBWSWqnXpbMxH1zvcUu6tJY5p6hvDaxGQ4LdDieIDeIjsTS3zmj3tEsWUlL2+rIo3x9HD+ZumVZE15rGGksaKxyTeeQZOHGOP8lYIgg8KSC9gLv6r9S2pTvec/sI82euKe4wUXimNJri2FkOx4Agt02/TYpihzJH9hLm1YqSBKYXOrl1Jd/rj7BuMPa4JJeBXswYCsscU7zpdc76gWoA+51ZM3tZ+i5LrxwySPcnI1rnfoP34RaBx0mk2ong3UHbf12M5Nwp5rIO542b0dE3nIPWln2BjXWbcKTYZhipjOFBoHiLTzQHW93d5s7+iKQNfNbSbReBT0qFq2S/pHwKBrkeVoHqXWD8p17MrhkfgT008MhDFp2C7U+HGzfx7SBH0AjKqb8XRjXOqEq9soCQjK8ijQ5a6Y4=
bucket: snap.ci.snap-telemetry.io
region: us-west-2
skip_cleanup: true
local-dir: s3
upload-dir: plugins
acl: public_read
on:
repo: intelsdi-x/snap-plugin-publisher-file
tags: true
condition: $TEST_TYPE = "build" && $TRAVIS_GO_VERSION = "1.7.1"
- provider: releases
api_key:
secure: qgJ93IYfJUzPWlsuhvWxczl2H8yyXUsM5rJ6YrNaKUTtwy2bvXg65zEvunEPvs+VbkimlODf42BFyTcb0GqgTx8N13wk8m1K0VFGirDK0KjugQF2zAs61lV1mzkUnTWipVm4a23bPdTt5vncj2kf70RqXBQ3eK75ttnpin47R858H8rl++4JC/wd3vNPZYX2OzahlGmHrsWi1drRGvhngevMqckz2MyUBwCMxhiWFlQSAfCmcD61+zuQ+2RmHN0omJCf59SBiBv+7QaqoVgN2X5EA4HD5hu6J1HpUuMhkWViIbSGhUCqoaH3Cgj2HzWy9WFRW2B18vT+FV5NPgHDZlYwgCCBHBHzp+JImiU1SgLoQJMCwBL8KiOUul7ZjYJLZABFQ/Z/1xhZp5jcy6+CtODGm/xuxNGbo0OE8eMdEs5StVT1wD0EPNAW0c22veksOywr0fW2TITJUfAF+BThRZQF9WGo97+d/8/rSZmhfQe0nfk5L/8P/OSHQn+2b685j5V5CfVqIW7Kq35pDVnwwedyhsjDs+1udQTPjqyT5/PuBjHtB/Fc3xVlDnKrrxn5Igh0o0uCeyLzFkDyjIB2Bn9u7/vBw4QZ5lTKmTaC4TGcwrdpDYDFaxNB0WZFS59NkgitZLHrrqW4XJimvqg7dKatoN3wpzft/csdyNh5tqE=
file:
- release/snap-plugin-publisher-file_linux_x86_64
- release/snap-plugin-publisher-file_darwin_x86_64
skip_cleanup: true
on:
repo: intelsdi-x/snap-plugin-publisher-file
tags: true
condition: $TEST_TYPE = "build" && $TRAVIS_GO_VERSION = "1.7.1"