2017-09-29 10:33:18 +02:00
|
|
|
sudo: required
|
|
|
|
language: python
|
|
|
|
|
|
|
|
git:
|
|
|
|
depth: 5
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
install:
|
|
|
|
- docker-compose -f docker-compose.test.yml pull --parallel
|
|
|
|
- docker-compose -f docker-compose.test.yml build
|
|
|
|
|
|
|
|
script:
|
|
|
|
- docker-compose -f docker-compose.test.yml run app
|
|
|
|
|
|
|
|
after_script:
|
|
|
|
- docker-compose -f docker-compose.test.yml down
|
2017-09-29 11:01:34 +02:00
|
|
|
|
2017-09-29 12:40:34 +02:00
|
|
|
after_success:
|
2017-09-29 12:26:41 +02:00
|
|
|
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
2017-09-29 12:40:34 +02:00
|
|
|
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
2018-01-30 11:45:53 +01:00
|
|
|
./build-branches.sh --push;
|
2017-10-02 11:08:50 +02:00
|
|
|
./build-latest.sh --push;
|
|
|
|
PRERELEASE=true ./build-latest.sh --push;
|
2018-02-05 17:30:15 +01:00
|
|
|
SRC_ORG=lampwins TAG=webhooks-backend ./build.sh "feature/webhooks-backend";
|
2017-09-29 12:40:34 +02:00
|
|
|
fi
|
2017-09-29 11:38:19 +02:00
|
|
|
|
2017-09-29 11:01:34 +02:00
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
secure: F3VsWcvU/XYyjGjU8ZAVGpREe7F1NjKq6LuMRzhQORbXUvanxDQtLzEe0Y5zm/6+gHkx6t8cX/v2PiCI+v46pkapYMUimd+QEOL1WxbUdnw2kQxcgw/R3wX34l2FHXbG3/a+TmH3euqbSCTIrPy9ufju948i+Q0E0u0fyInmozl8qOT23C4joQOpVAq7y+wHxTxsEg46ZzL2Ties+dmqjMsvHocv7mPI2IWzAWA8SJZxS82Amoapww++QjgEmoY+tMimLkdeXCRgeoj41UGHDg54rbEXh/PTaWiuzyzTr1WLmsGRScC57fDRivp3mSM37/MlNxsRj1z+j4zrvWFQgNfJ2yMjBHroc1jOX/uCY4dwbpSPqUCpc4idMGCGZFItgzTQ3lAPYAsom0C6n8C08Xk8EsNKWwXrDSd4ZUhIwptkNPCFK+kXbLFsMzSApnaBYW0T+wba57nZdiWjOPYmvJr49MDm5NHv2KaRBX2gpw7t7ZLhTgwGEWcZvcDebiLneXcXY5hZ7v2NHJkx/2x1yNXo85xZDy0wK1FGoOOHwPhvqOB+pcQZ/pUOSPTKqGw5l/CexoRm1shFsK+19FnSgimqTHjcuCo4lFW3JlEvlFhtfFXIte2Wjp1ALZgTrSq8zSD5rRxYCUKmM7b3EJwdaIgbvKWPdS4sCXlXU1bHx0g=
|