Skip to content

Commit 95ef80a

Browse files
committed
travis: also build release branch
Also setup travis to clone the corresponding branch of AutomataLib, so that e.g. building the release branch also uses the release branch of AutomataLib. (cherry picked from commit d513063)
1 parent aede82a commit 95ef80a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ branches:
1717
only:
1818
- master
1919
- develop
20+
- release
21+
2022
before_install:
21-
- git clone -b develop --single-branch https://github.com/LearnLib/automatalib.git /tmp/automatalib-develop
23+
# set Travis environment variables "AUTOMATALIB_FORK" and "AUTOMATALIB_BRANCH" to build custom AutomataLib versions.
24+
# Defaults are "LearnLib" and the current/targeted LearnLib branch ($TRAVIS_BRANCH, relies on the same naming
25+
# conventions between AutomataLib and LearnLib branches).
26+
- git clone -b ${AUTOMATALIB_BRANCH:-$TRAVIS_BRANCH} --single-branch https://github.com/${AUTOMATALIB_FORK:-LearnLib}/automatalib.git /tmp/automatalib-develop
2227
- pushd /tmp/automatalib-develop
2328
# skip several aspects of the build process, because we are only interested in the compiled code
2429
- mvn install -DskipTests -Dmaven.javadoc.skip=true

0 commit comments

Comments
 (0)