XChange icon indicating copy to clipboard operation
XChange copied to clipboard

Travis builds not running unit tests

Open ww3456 opened this issue 9 years ago • 4 comments

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.

ww3456 avatar Nov 05 '17 11:11 ww3456

Do you know where that's coming from? I'm confused about how that it even there.

timmolter avatar Nov 05 '17 11:11 timmolter

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

timmolter avatar Nov 05 '17 11:11 timmolter

No, I'm afraid not. It is also skipping the javadoc, as though it is running in a configuration to speed up the build.

ww3456 avatar Nov 05 '17 11:11 ww3456

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

timmolter avatar Nov 07 '17 15:11 timmolter