-
Notifications
You must be signed in to change notification settings - Fork 78
/
.travis.yml
41 lines (37 loc) · 974 Bytes
/
.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
os:
- linux
- osx
language: c
compiler:
- gcc
- clang
notifications:
email:
on_success: change
on_failure: always
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update;
brew bundle --file=misc/Brewfile-travis;
else
sudo apt-get update -qq &&
sudo apt-get install -qq autoconf automake libtool debhelper libgtk-3-dev libtomcrypt-dev libxml2-dev dh-autoreconf devscripts fakeroot git-core valgrind nettle-dev;
fi
- if [ -e .git/shallow ]; then
git fetch --unshallow;
fi
script:
- ./autogen.sh
- misc/build-one.sh nettle
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then
case "$CC" in
clang*) export CPPFLAGS=-DLTC_NO_ROLC ;;
*) ;;
esac;
misc/build-one.sh tomcrypt &&
./release.sh &&
misc/build-debian.sh &&
sudo dpkg -i *.deb &&
stoken import --random --new-password="" &&
stoken --pin=0000;
fi