Skip to content
Open
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
18 changes: 2 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,7 @@ script: tools/travis.sh

matrix:
include:
- env: TIG_BUILD=valgrind
script: tools/travis.sh
- env: TIG_BUILD=address-sanitizer
- os: osx
env: TIG_BUILD=brew
compiler: clang
# LeakSanitizer requires ptrace capabilities
# https://github.com/travis-ci/travis-ci/issues/9033
sudo: required
script: tools/travis.sh
- if: branch = master
os: osx
env:
compiler: clang
script: brew install --HEAD tig
- if: branch = master
os: osx
env:
compiler: gcc
script: brew install --HEAD tig
6 changes: 6 additions & 0 deletions tools/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,17 @@ build_valgrind() {
make all-debug test TEST_OPTS=valgrind
}

build_brew() {
brew update
brew install --HEAD tig
}

case "$TIG_BUILD" in
config.make) build_config_make ;;
autoconf) build_autoconf ;;
address-sanitizer) build_address_sanitizer ;;
valgrind) build_valgrind ;;
brew) build_brew ;;

*)
echo "Unknown config: $TIG_BUILD"
Expand Down