Skip to content

Commit

Permalink
travis cleanup: no need for install target
Browse files Browse the repository at this point in the history
This should re-enable linting as a parallel, separate task.
  • Loading branch information
tautschnig committed Dec 18, 2016
1 parent 1994969 commit 74afa68
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,11 @@ addons:
packages:
- libwww-perl

install:
- chmod a+x regression/failed-tests-printer.pl
- cd src && make minisat2-download

script:
- make CXXFLAGS="-Wall -O2 -g -Werror -Wno-deprecated-register -pedantic -Wno-sign-compare" -j2 && cd ../regression && make test
- make -C src minisat2-download
- make -C src CXXFLAGS="-Wall -O2 -g -Werror -Wno-deprecated-register -pedantic -Wno-sign-compare" -j2 && make -C regression test

matrix:
include:
- env: NAME="CPP-LINT"
script: cd .. && DIFF=`git diff --name-only master HEAD` && if [ "$DIFF" != "" ]; then python scripts/cpplint.py $DIFF; fi
script: DIFF=`git diff --name-only master HEAD` && if [ "$DIFF" != "" ]; then python scripts/cpplint.py $DIFF; fi

0 comments on commit 74afa68

Please sign in to comment.