forked from umr-dbs/wave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (32 loc) · 2.73 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
language: typescript
dist: trusty
sudo: required
services:
- docker
addons:
apt:
packages:
- docker-ce
script:
- export TAG=`
if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_BRANCH == "master" ]]; then
echo "dev";
elif [[ $TRAVIS_PULL_REQUEST == "true" ]]; then
echo $TRAVIS_PULL_REQUEST_BRANCH;
else
echo $TRAVIS_BRANCH;
fi`
- docker build --tag $REPO:$TAG --file Dockerfile .
after_success:
- echo "$DOCKER_PASS" | docker login --username "$DOCKER_USER" --password-stdin
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then
docker push $REPO:$TAG;
fi
notifications:
slack:
secure: D6TPNkiNF6UI+R66M4ngAbVK7pf5rR/aKG4N23QoZpALgTFrz4Lo7L3Z+uC5DelbjUunDfvQxASgDfa3nmSYsSmxbBrlm5uhd1Q3RRwv0rZC50MPI6G/tsEpa5sNIUIQiII4Foj1EpnnDIFVU8BuLhUDsvjJVPEnE6Qtl/50zyDnBOP8okGXQL1jPEqeTInEkcDWZlw2j+YPWYgQgCWi9LfekHCX78TJjQiZdTvBSbplOuk2Vm48Dt/xPPAt7EzG9oXmttxk7n5HcpgvicbS+eR97b3Z4EVmJ7VNkukN4c6FDdne1YiAi2KtfFBcyK2NUCPngZWLryAEH5zD1TkLD7Ry1U3xTGKB1/hhKMMamTmt2qjxBCENodwC8DwsUv/929CTeoJBs7rpkNjKyOXeNzild9LpCCCZVlPACGxKa+Cb46AEWrPD2lJV/u/l+2tuCVicNh83Vk2QqKjF7MwKSuISdbPCcQdbiWuYOUph31essXG4i1Uhlx8xWIqidrRnNAw8gH9/8XZth17Ww76MMU9HmC/BoJootGMYj9dVzVO7N8uH4iPyjZGrVaFv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