forked from cksystemsteaching/selfie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
64 lines (57 loc) · 2.1 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
language: c
os:
- linux
- osx
dist: bionic
compiler:
- clang
- gcc
script: travis_wait 60 make all
stages:
- test
- make-grade
- docker-all
- docker-extras
- name: deploy
# disabling deploy, see github docker workflow
if: false AND branch = master AND type = push AND fork = false
- name: run
# disabling deploy, see github docker workflow
if: false AND branch = master AND type = push AND fork = false
jobs:
include:
- stage: make-grade
language: python
python:
- "3.7"
os: linux
dist: bionic
script: make grade
- stage: docker-all
services: docker
os: linux
script:
- docker build -f Dockerselfie -t cksystemsteaching/selfie .
- docker run cksystemsteaching/selfie make all
- stage: docker-extras
services: docker
os: linux
script:
- docker build -f Dockerselfie -t cksystemsteaching/selfie .
- docker run cksystemsteaching/selfie make extras
- stage: deploy
services: docker
os: linux
script:
- docker build -f Dockerselfie -t cksystemsteaching/selfie .
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker push cksystemsteaching/selfie
- stage: run
services: docker
os: linux
script:
- docker run cksystemsteaching/selfie make everything
notifications:
email: false
slack:
secure: QnvgTzEnzFnk3QDD60fhDNCIEr9rWOZccS7iqkwB2qis94RqcIFK0tE5yrz9N2E7zBqoUc4iSVTQW6n+ol5/0vqY0i676d4cFN8Vm6pHwDEf80DBUaVMddxPS/oZHL/smJRE/jxJ2S6dF+UOxCXmhMZD/63PXzO6GERfpBcTCMFRy1ch13uN/mKXx9Hu+6Rn2Ouy3Wn0r444flg0o0wtBA5pYU8soo1J8jcGMLf14/7RlnKve/yLPS29/9SpG6nElWLjCztqS69odI5GvIjDHsfz+23g1znRq+61rjbIHrxzvBksB+MAWzBnr+LhUzdPp3TNbKrXZEp7g88zsiRUTzfyGE14SZM/AMiDxPAqODzp1p2K/qmIT846WE2k63Y622DP5RUy/RgMKzyFBOarohy3/PiFbBa9ccc76KgTWLl17IIEKC77d7wBvO7gA2KEOz+02NDJaIuyvQM3Ty0RriNd7FZYU+KZplOd/YY0m2J/A5O0shAuxZx0d4kaU9ycNo7M6UGNiAgxbHPeMF6vNuktKr5fsUXj5VdsysA0cfqo3JxzfinreLLMX4afqv8izEJR4/qNXrOTZ4FI/J4zQwEngKxyBILwAN+jViVmVIYf2XD0ptPE/IB566X1unBShZFO/u/aLwdMStHSA+6w71Adlty0sCD19YZGbC9g/ns=