Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove findbugs from Travis and simplify the yml configuration file #2620

Merged
merged 1 commit into from
Oct 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ cache:
addons:
apt_packages:
- git
- cmake
- build-essential
- libboost-all-dev

jdk:
- oraclejdk8
- openjdk7

env:
- BUILD=maven_findbugs
- BUILD=maven
- BUILD=ant

Expand All @@ -33,17 +29,7 @@ before_install:
- if [[ $BUILD == 'ant' ]]; then pip install --user flake8 Sphinx==1.2.3; fi

install:
- if [[ $BUILD != 'ant' ]] && [[ $BUILD != 'sphinx_html' ]]; then git fetch --tags; fi
- if [[ $BUILD == 'maven_findbugs' ]]; then mvn install -DskipTests=true; fi
- if [[ $BUILD != 'ant' ]]; then git fetch --tags; fi

script:
- ./tools/test-build $BUILD

matrix:
exclude:
- jdk: openjdk7
env: BUILD=sphinx_html
- jdk: openjdk7
env: BUILD=maven_findbugs
- jdk: oraclejdk8
env: BUILD=maven
7 changes: 0 additions & 7 deletions tools/test-build
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ maven()
mvn
}

maven_findbugs()
{
mvn findbugs:findbugs -Dfindbugs.threshold=medium
}

cpp()
{
(
Expand Down Expand Up @@ -80,8 +75,6 @@ do
clean ;;
maven)
maven ;;
maven_findbugs)
maven_findbugs ;;
cpp)
cpp ;;
flake8)
Expand Down