TeaWeb/.travis.yml

21 lines
724 B
YAML
Raw Normal View History

2018-10-13 17:12:35 +00:00
sudo: true
dist: trusty
2018-10-09 12:20:17 +00:00
2018-10-13 17:12:35 +00:00
jobs:
include:
- stage: build teaweb
2018-10-13 17:12:35 +00:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker images
2018-10-13 19:54:27 +00:00
- docker pull $DOCKER_USERNAME/teaweb:build
2018-10-13 17:12:35 +00:00
- docker images
2018-10-20 19:00:43 +00:00
- docker run --rm $DOCKER_USERNAME/teaweb /bin/bash -c /root/build_teaweb.sh "travis" "travis" "travis" "travis"
if: branch = master
- stage: test teaweb
2018-10-13 17:12:35 +00:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker images
2018-10-13 19:54:27 +00:00
- docker pull $DOCKER_USERNAME/teaweb:build
- docker images
- docker run --rm teaweb:build /bin/bash -c /root/build_teaweb.sh
if: branch != master