Skip to content

Commit 95b1a99

Browse files
committed
travis: support only linux for now
1 parent 75f0d7a commit 95b1a99

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

.travis.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,12 @@
11
language: c
22

3-
os:
4-
- linux
5-
- osx
6-
73
before_install:
8-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
9-
sudo apt-get -qq update;
10-
sudo apt-get -y install libssl-dev;
11-
fi
12-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
13-
brew update;
14-
brew install openssl;
15-
fi
4+
- sudo apt-get -qq update
5+
- sudo apt-get -y install libssl-dev
166

177
install:
188
- wget "https://github.com/alfredh/pytools/raw/master/ccheck.py"
199

2010
script:
21-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
22-
make EXTRA_CFLAGS=-Werror;
23-
fi
24-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
25-
make EXTRA_CFLAGS="-I/usr/local/opt/openssl/include -Werror" EXTRA_LFLAGS="-L/usr/local/opt/openssl/lib";
26-
fi
27-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python2 ccheck.py ; fi
11+
- make EXTRA_CFLAGS=-Werror
12+
- python2 ccheck.py

0 commit comments

Comments
 (0)