Run tests using travis-CI

This commit is contained in:
jekkos-t520
2020-03-05 00:07:17 +01:00
committed by jekkos
parent 2eec0ae6f0
commit 2d57326779

View File

@@ -19,7 +19,7 @@ script:
- sed -i "s/'\(dev\)'/'$rev'/g" application/config/config.php
- docker run --rm -it -v $(pwd):/app -w /app digitallyseamless/nodejs-bower-grunt
sh -c "npm install && bower install && grunt package"
- /bin/bash docker/install-local.sh
- docker-compose -f docker-compose.test.yml up
env:
- TAG=$(echo ${TRAVIS_BRANCH} | sed s/feature\\///)
after_success: '[ -n ${DOCKER_USERNAME} ] && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"