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: jobs:
- docker include:
- stage: build docker image
before_install: script:
- docker pull wolverindev/teaweb - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker run --name teaweb teaweb:build /bin/bash - docker images
- docker pull $DOCKER_USERNAME/teaweb
script: - docker images
- "ls -lah" - stage: build
- "cd root" script:
- "ls -lah" - docker run --rm teaweb:build /bin/bash -c "ls -lah"