Travis builds not running unit tests
Have the unit tests been disabled on purpose? e.g.
https://travis-ci.org/timmolter/XChange/builds/297084703#L454
$ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
KrakenAdaptersTest.testAdaptCurrencyPairs will need fixing if they are going to be turned back on.
Do you know where that's coming from? I'm confused about how that it even there.
Our .travis.yml config is this:
language: java
sudo: false
before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
script: "
if [ ${TRAVIS_PULL_REQUEST} = 'false' ];
then
mvn clean deploy --batch-mode --settings target/travis/settings.xml;
else
mvn clean verify --batch-mode --settings target/travis/settings.xml;
fi"
jdk:
- oraclejdk8
# whitelist
branches:
only:
- develop
env:
global:
- secure: "pDTp3TujySuBn3IV5QzgYSsLdLHRDApm2dvKT5P8aHgLDF2tM59a5fWYuA+MiTrZdpbxsUXzxrl4l5+cQyLGI10/hu4R7uft4k46Da78xNA5REki+YU7rjCA6RXdWUuXyhLNFYPWVNt3mgi7YfsyNwRrtS3FQQZn1BOfDJ0s5Vo="
- secure: "YwWFnNl4cBEKzRiMjKlfp1VieMkWp4LGENMKzlVs7hy3TWFz4A2pJpRUX76qqWV/6h6vOqY6cogql3NCietzJbspSgwl7MkboPVXYn9HgQkPwrcdQh/h9PzsC63iOW4jyIqHzjVT36MYLYrXTvRrqdMHUjFJmObiNt1KY674d7g="
matrix:
- LC_ALL=C
- LC_ALL=pl_PL
- LC_ALL_zh_CN
No, I'm afraid not. It is also skipping the javadoc, as though it is running in a configuration to speed up the build.
OK, looks like Travis CI changed something on their end. I think it's fixed now.
https://stackoverflow.com/questions/31945809/skip-first-mvn-install-in-travis-ci