-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 1.41 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
sudo: required
os:
- linux
language: go
services:
- docker
go:
- 1.9.2
script:
- docker --version
- go test -v $(go list ./... | grep -v /vendor/) -cover
- if [[ "$TRAVIS_BRANCH" == "$TRAVIS_TAG" ]]; then
pip install --user awscli;
export PATH=$PATH:$HOME/.local/bin;
aws --version;
eval $(aws ecr get-login --region ap-northeast-1);
export PULLR_IMAGE_NAME=pullricarium:${TRAVIS_TAG};
if [[ $TRAVIS_TAG == *"dev"* ]]; then
make icariumdd;
else
make icariumdp;
fi;
docker images;
docker tag ${PULLR_IMAGE_NAME} ${ECR_REPO_URI}/${PULLR_IMAGE_NAME};
docker push ${ECR_REPO_URI}/${PULLR_IMAGE_NAME};
else
make;
fi
notifications:
slack:
secure: OMdHmwlYTxFtCu5SQpxsvAaDODshF+iO8OxSXZUxIW5F2/r4UTM62ugNrzg12bMWklEVJF7SapAPVzhye/24aICboxifRe1Q7WaGyG3kvGUsGoZRopg02TaGQs/Mtq8sbtSpdCOVHWwFWWoSChr9nWVODJ6AN0eTtFeko5ZoK0XcdfXOn27cK6YaOjR3gBqMnkVMGwYCZNJQTPMp93zmbvAgo+ITJA5RZYBnjyNr2XqtHExoxbzvSp7LfkZqu+CQfp+FBrQ6a6PlEce+DiYzN0X+1sUuEBx/Xx9hsVvJLNMQZYPtvk0dKweR4O+GgZvDswFDaorovjco+yoOAZh6H1PlzlJZTL5M6ekoM/Mm0pGmFwQMp/HGzQsmVOswwtk8JMBy+pWIBikQKtT9F6ujxmWzz/s6fDscmzGEYygj8r6Qcn2HMHyULuq/orpmfd/HzHRHd3CHSy/sJAvK+6Sv8S0Ty8sbVD0b5WDbqOHiLE2OIfbN47I+w19bRx9YpwUYxJTDHGRS6qAKFc+QqqcKw+oW9ZSeFqNPAsVPpaGOXclYwz3rPxLUuaTb5SHCsMEw9erL+akzZOHfmVxVHFJ+ZFwzzRAVfl4Oqc/qCPXBU6CUIz6xXMenLhEtA1gbegAkYAlFZUdCKiwkdLsmyVMjRTX8ESfoWG4T6UTR4j5ioLg=