-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
19 lines (19 loc) · 2.55 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sudo: required
services:
- docker
language: c
env:
global:
- secure: "1TsGRfnzYLlEOzVYJzg6uFO0hZv2UrcIjBLaWfqpUmmXJWVsUqkOKR2ZJlqTb6I7Q2QEJaT8qx/fasiZsDbt8Zig4fyDHQ7sh2pefUkRSDWzXO5hKIinH1O9Mm3RsCkwmItWiMqwSpVrqqdWorEaSuoSL9lge9LkQE7CHtR1l6gJhPlxz95qqQG7TSbzVTjB9CfwfDguZcvxIPdZDigxgumkzFuw9HcF8JILv3kFBh/zQ0r6d3NEQamNEwFnuD6gRZnrogXDSvIpKn5KCoMZcDktMQiMwBbEeC5IA/KF0WSkud3mEtUOS6UnBkiFc9/QVbVHe31L0GIYfgZyTCmGk+clXsCcPIw4DAUqKb5qPQXZetNQ03SiiiyxKyntJ8T0it1gBjUW6ychHRNezedfSMxHBnrdyBlwUKrtjImp8tnrh0Q3yLUMSXyHTtjh3NQFNQep2lIlzkF8916GwO+Yk1DXWX4eJpYuDmHwWc3dSIvYjnMVtYvhKXoc5vkoYDqJpkPWxmliLweb0RrP7mUWNQVxYat608Q5eng2Fd1v9A0lwVGeI2NJ+82fuBzfIQcq1AmFyzyw2SSe9zU/nYZMK5+u/QKbbM+gl2cZ7WbO/AfjKpRLBen8xIqwvhDV1G/QWZI9UT4TTyFJQ3JdWqwrzYm273Sws0tlN0ctvkONPsI=" # DOCKER_EMAIL
- secure: "5gBzUvQHGzhQf+ytMVKIYzoV8RI9XCi8afSXowhRrOt8nDoDgwgtGQvcFFpBoc4U2SqZHRLqADhys6Gr2v8cQWmyLnetAssquy4VCIy5G5B/3ughIOEW7V/jKqjptmilHR3nCgbTrMGjVs8RtjURPo3w/x8Ga2m2h1Lx6pu+8iAAqwqE8Mr3yAxCNUnnmlqAuh/gwO8MSocpJWMj+OjbvPa+2+9F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ekT3UcITVXIRnQWGqW0TxCh4iWiDDFtWkesnKhdYktSqugu8rD/zvdAPjFzZuE0+mnDTuHJxc47zk0t2hU8=" # DOCKER_PASS
script:
- echo "Building lambdacube docker image..."
after_success:
- git submodule init
- get submodule update
- docker login -e $DOCKER_EMAIL -u $DOCKER_USERNAME -p $DOCKER_PASS
- export REPO=lambdacube3d/lambdacube3d
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- docker build -f Dockerfile -t $REPO:$TAG .
- docker push $REPO