0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

Create travis.yml and fix #94

This commit is contained in:
Mathieu Brunot 2018-10-23 23:31:03 +02:00 committed by GitHub
parent 43f3c43eab
commit ae26d8536b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

31
.travis.yml Normal file
View file

@ -0,0 +1,31 @@
dist: trusty
sudo: required
services: docker
language: bash
branches:
only:
- master
before_script:
- env | sort
- name="uxbox"
- image="madmath03/uxbox:${VERSION}"
- dir="docker/"
script:
- travis_retry docker build -t "$image" "$dir"
after_script:
- docker images
- docker run --name "$name" -d "$image" "$dir"
- docker ps
- docker logs "$name"
notifications:
email: false
env: # Environments
- VERSION=beta