Trigger fullstack tests from this repository

This commit is contained in:
Robert Schäfer 2018-12-10 17:35:41 +01:00
parent 7a517131e3
commit 31b017f7f6
2 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,7 @@ env:
- DOCKER_COMPOSE_VERSION=1.23.2
before_install:
- scripts/run_fullstack_tests.sh # trigger full stack testing in a different repository
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose

9
scripts/run_fullstack_tests.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
if [[ -v TRAVIS_TOKEN ]]; then
# You need a Travis token to trigger the build on our meta repository.
# This token will not be available on forks of this repo.
curl -L https://raw.githubusercontent.com/Human-Connection/Human-Connection/master/scripts/trigger_build.sh > trigger_build.sh
chmod +x trigger_build.sh
./trigger_build.sh
fi