Skip to content

Commit 63ec8c0

Browse files
jakzalmpkorstanje
authored andcommitted
Set up Travis CI
1 parent 4e794c4 commit 63ec8c0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: scala
2+
sudo: false
3+
4+
scala:
5+
- 2.10.7
6+
- 2.11.12
7+
- 2.12.6
8+
9+
cache:
10+
directories:
11+
- "$HOME/.m2"
12+
13+
before_cache:
14+
- rm -rf $HOME/.m2/repository/io/cucumber
15+
16+
before_install:
17+
- export MODULES_TO_RUN="scala/scala_"$(echo $TRAVIS_SCALA_VERSION | sed -e 's/\([0-9]*\.[0-9]*\)\..*/\1/')",examples" && echo $MODULES_TO_RUN
18+
19+
install:
20+
- mvn install -pl $MODULES_TO_RUN -DskipTests=true -Dmaven.javadoc.skip=true -B -V
21+
22+
script:
23+
- mvn test -pl $MODULES_TO_RUN -B

0 commit comments

Comments
 (0)