forked from cyz14/utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 1.52 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
sudo: required
branches:
only:
- master
language: generic
notifications:
email: false
slack:
secure: iKe1UVHgKeUgYATFivkl6oKJo2SRFyVeIITBG3mBq7PZvJ2KtZeML/vVLZVd0dqWiIAT6IEKMdaGROfqhh786VRRQ0UJp6Ie5/Lyhz4Ixd7lULaBVLzyC3o+RGaimpjwjIx73XshEsz8NFbkWTm1zpX6rTDiTCUC2GqhjwGhU/89veVymTDs4DA4sfopVtSMr2wL32LiDq9FIF6/iCCmlrdoil8FLVtLcQBGORpmHD5RM4DOXfmR5fHdIE0NUJksXE/0RQbNYFD1jx5jhvCNURVBX74AqQjoQ8M2w+31HGzjz+J503fGZeIcPXveTyGXOf+1uZRMMOcgSC8isLqB4+aYh2TRlCeqDVocLAkVp+M1bXEAx6AIJ9JRTKET5GPTkc2iN+YQ/XcBbyKQtQTru/0LQ/IWNbE6sKzla3jD07J2vuV5+9+Llim38yxXv4o5gzd+kx9xRwuTabNPtSxHnlpzJzJw6klvk6sNthtVe04sN/pLs6omH5YYaQOCI8rb20YG6Gv7lyuHC+ugxUoVW7uvyVMVuR6dtwd2Aa1mBFqWhIh2ShCdD2Q8R/ZjwOp5UDiGCpWl1Gfm83KmKmA4oe0/oUL02R7tXVHmtRvEpvPAHkgEbX3DGVJpRw4YdoDNogOuyKfWYt9ZxDiVObb1mLgxBfzk7N31J74QRgnGA7I=
services:
- docker
before_install:
- sudo ./vm-setup.sh
- |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
fi
jobs:
include:
- stage: dpdk
script: |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
make -f docker.mk -e CONTAINER=dpdk image-fresh
else
make -f docker.mk -e CONTAINER=dpdk build-fresh
fi
- stage: sandbox
script: |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
make -f docker.mk -e CONTAINER=sandbox image-fresh
else
make -f docker.mk -e CONTAINER=sandbox build-fresh
fi