Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfix committed Nov 22, 2018
1 parent 2696e25 commit d51940d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
Expand Up @@ -2,18 +2,15 @@ language: cpp
compiler:
- gcc

before_install:
- pip install --user cpp-coveralls

install:
- pip install --user cpp-coveralls
- make madx-linux64-gnu COVERAGE=yes
- make numdiff-linux64-gnu

script:
- >-
make tests &&
NUM_FAILED=$(<tests/tests-summary.txt grep -o 'FAILED.*' | awk '{print $2}') &&
[[ $NUM_FAILED = 0 ]]
- make tests &&
NUM_FAILED=$(grep -oP '(?<= FAILED ).*' tests/tests-summary.txt) &&
[[ $NUM_FAILED -eq 0 ]]

after_success:
- coveralls --include src -x .c -x .cpp
Expand Down

0 comments on commit d51940d

Please sign in to comment.