Experimenting with travis

canary
WolverinDEV 2018-10-13 19:12:35 +02:00
parent 68ca5ad5ff
commit e143751489
1 changed files with 13 additions and 12 deletions

View File

@ -1,13 +1,14 @@
sudo: required
sudo: true
dist: trusty
services:
- docker
before_install:
- docker pull wolverindev/teaweb
- docker run --name teaweb teaweb:build /bin/bash
script:
- "ls -lah"
- "cd root"
- "ls -lah"
jobs:
include:
- stage: build docker image
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker images
- docker pull $DOCKER_USERNAME/teaweb
- docker images
- stage: build
script:
- docker run --rm teaweb:build /bin/bash -c "ls -lah"