-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (41 loc) · 1.44 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
sudo: required
dist: trusty
language: c
git:
depth: 3
compiler:
- gcc
- clang
os:
- linux
- osx
osx_image: xcode7.2
deploy:
skip_cleanup: true
before_script:
- git describe --always --dirty=+
before_install:
- test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get -qq update || true
- test "$TRAVIS_OS_NAME" = "osx" && sudo wget -q https://raw.githubusercontent.com/troydhanson/uthash/master/src/uthash.h -O /usr/local/include/uthash.h || true
- test "$TRAVIS_OS_NAME" = "osx" && brew update || true
install:
- test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get -qq install check || true
- test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get -qq install libacl1-dev || true
- test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get -qq install libncurses5-dev || true
- test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get -qq install librsync-dev || true
- test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get -qq install uthash-dev || true
- test "$TRAVIS_OS_NAME" = "osx" && brew install check || true
- test "$TRAVIS_OS_NAME" = "osx" && brew install librsync || true
- test "$TRAVIS_OS_NAME" = "osx" && brew install openssl || true
- test "$TRAVIS_OS_NAME" = "osx" && brew uninstall libtool || true
- test "$TRAVIS_OS_NAME" = "osx" && brew install libtool || true
script:
- ./.travis-script.sh
after_failure:
- tail burp-*/_build/sub/test-suite.log
- sleep 2
deploy:
provider: script
script: test/travis-deploy.sh
on:
branch: master