Hi there,
I’m trying to build my release in Travis, but i don’t want to wait for the release to finish for the PR’s to go green.
Therefore i specify my build matrix like this.
However when the “Test” stage finishes the build is still running.
Allow failures seems to work since if the release stage fails the build still passes.
Does anyone have any suggestions?
I’ve attached my .travis.yml.
.travis.yml
matrix:
allow_failures:
- python: 3.7
fast_finish: true
include:
- stage: "Test"
language: scala
dist: trusty
scala:
- 2.12.7
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
- stage: "Release"
language: python # our release script runs in docker, but we need python for setting up
python: 3.7
dist: bionic
services:
- docker
before_install:
- git clone --depth 1 https://secretdeployrepo ../deploy
install:
- eval "someinitscript"
script:
- deploy release audio-api