0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 06:58:58 -05:00
penpot/.travis.yml

49 lines
960 B
YAML
Raw Normal View History

2019-02-15 13:19:00 +01:00
dist: xenial
2019-02-15 17:19:22 +01:00
language: clojure
sudo: required
lein: lein
jdk:
2019-02-15 17:27:46 +01:00
- openjdk8
2019-02-15 17:19:22 +01:00
services:
- docker
2018-10-23 23:31:03 +02:00
branches:
only:
- master
- wip
- develop
- build-refactor
2018-10-23 23:31:03 +02:00
install:
- ./manage.sh help
- nvm install $NODE_VERSION
- node --version
2018-10-23 23:31:03 +02:00
before_script:
- env | sort
script:
- ./manage.sh $COMMAND
2018-10-23 23:31:03 +02:00
after_script:
- docker images
- docker ps
- if [ "$COMMAND" = "run-release" ]; then sleep 180; fi
- docker ps
- for c in $(docker ps -q); do echo "> docker logs $c"; docker logs $c; done
2018-10-23 23:31:03 +02:00
notifications:
email: false
env:
- NODE_VERSION=10.16.0 COMMAND=clean
- NODE_VERSION=10.16.0 COMMAND=build-devenv
#- NODE_VERSION=10.16.0 COMMAND=run-devenv
# TODO Add unit test command(s)
#- NODE_VERSION=10.16.0 COMMAND=test
- NODE_VERSION=10.16.0 COMMAND=build-release
- NODE_VERSION=10.16.0 COMMAND=build-release-frontend
- NODE_VERSION=10.16.0 COMMAND=build-release-backend
- NODE_VERSION=10.16.0 COMMAND=run-release