Added missing .travis.yml

canary
WolverinDEV 2019-05-20 20:09:49 +02:00
parent 8515a85649
commit 6c151545ea
1 changed files with 19 additions and 0 deletions

19
.travis.yml Normal file
View File

@ -0,0 +1,19 @@
sudo: true
dist: trusty
services:
- docker
before_install:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker pull $DOCKER_USERNAME/teaweb:build_new
jobs:
include:
- stage: "build"
name: TeaWeb build master branch
script:
- "mkdir -p /tmp/build"
- "docker run --rm -v /tmp/build/logs/:/build/logs/ -v /tmp/build/packages/:/build/packages/ -v `pwd`:/build/TeaWeb $DOCKER_USERNAME/teaweb:build_new --enable-release --enable-debug || travis_terminate 1;"
- "./scripts/travis_deploy.sh || travis_terminate 1;"
if: branch = master