Skip to content

Commit 2ec7696

Browse files
author
Sebastiano Merlino
committed
using a better script to trigger travis ci
1 parent 2deff67 commit 2ec7696

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎.travis.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ compiler:
33
- gcc
44
- clang
55
env:
6-
- CONF_COMMAND=../configure --enable-debug; DEBUG="debug"
7-
- CONF_COMMAND=../configure
6+
- DEBUG="debug"
7+
- DEBUG="nodebug"
88
before_install:
99
- sudo apt-get install texinfo
1010
- sudo pip install cpp-coveralls
@@ -23,12 +23,12 @@ script:
2323
- ./bootstrap
2424
- mkdir build
2525
- cd build
26-
- $(echo $CONF_COMMAND)
26+
- ../ci-configure
2727
- make
2828
- make check
2929
after_success:
3030
- if [ $DEBUG = "debug" ]; then ../ci-report-coverage; fi
3131
matrix:
3232
exclude:
3333
- compiler: clang
34-
env: CONF_COMMAND=../configure --enable-debug; DEBUG="debug"
34+
env: DEBUG="debug"

‎ci-configure‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
if [ $DEBUG = "debug" ]; then ../configure --enable-debug; else ../configure; fi

0 commit comments

Comments
 (0)