0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00
penpot/.travis.yml
mathieu.brunot 0109c3ff1d
🚧 Add tests option
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2019-06-19 18:31:48 +02:00

47 lines
932 B
YAML

dist: xenial
language: clojure
sudo: required
lein: lein
jdk:
- openjdk8
services:
- docker
branches:
only:
- master
- wip
- develop
- build-refactor
install:
- ./manage.sh help
- nvm install $NODE_VERSION
- node --version
before_script:
- env | sort
script:
- ./manage.sh $COMMAND
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
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
- NODE_VERSION=10.16.0 COMMAND=test-devenv
- 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