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:
parent
43f3c43eab
commit
ae26d8536b
1 changed files with 31 additions and 0 deletions
31
.travis.yml
Normal file
31
.travis.yml
Normal 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
|
Loading…
Reference in a new issue