summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-08-11 13:49:49 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-08-12 20:49:50 +0200
commit35932b5381886f1d650d2cf853384273d080b821 (patch)
tree56f36bb7f57f1271a41405a361125f1b5e06dabc /.travis.yml
parent11de2c222f31f9df85bcee99c5552a21a2b4895c (diff)
Add "make install" step to Travis build.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml35
1 files changed, 16 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml
index ae3d50b2..787a6e39 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,14 +2,14 @@ language: c
2 2
3matrix: 3matrix:
4 include: 4 include:
5 - env: BUILD=hstox 5 - env: BUILD=hstox ENV=linux
6 language: haskell 6 language: haskell
7 ghc: 7.8 7 ghc: 7.8
8 - env: BUILD=toxcore 8 - env: BUILD=toxcore ENV=linux
9 compiler: clang 9 compiler: clang
10 - env: BUILD=toxcore 10 - env: BUILD=toxcore ENV=linux
11 compiler: gcc 11 compiler: gcc
12 - env: BUILD=autotools 12 - env: BUILD=autotools ENV=linux
13 compiler: clang 13 compiler: clang
14 14
15addons: 15addons:
@@ -24,25 +24,22 @@ addons:
24 24
25cache: 25cache:
26 directories: 26 directories:
27 # Although Travis documentation says not to rely on the value of $HOME, we
28 # rely on it here because cabal installs its packages there by default. If
29 # that ever changes, these values need to be updated.
30 # Note that we can't use shell expressions in these paths, so we can't ask
31 # cabal where its data is stored.
27 - $HOME/.cabal 32 - $HOME/.cabal
28 - $HOME/.ghc 33 - $HOME/.ghc
29 - $HOME/cache 34 - $HOME/cache
30 35
31install: 36install: other/travis/${BUILD}-install
32 # Globally used environment variables. 37script: other/travis/${BUILD}-script
33 - export CACHE_DIR=$HOME/cache 38after_script: other/travis/${BUILD}-after_script
34 - export OPAMROOT=$CACHE_DIR/.opam
35 - export LD_LIBRARY_PATH=$CACHE_DIR/lib
36 - export PKG_CONFIG_PATH=$CACHE_DIR/lib/pkgconfig
37 - export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle
38 # Install required packages.
39 - other/travis/${BUILD}-install
40
41script:
42 - other/travis/${BUILD}-script
43
44after_script:
45 - other/travis/${BUILD}-after_script
46 39
47notifications: 40notifications:
48 irc: "chat.freenode.net#toktok-status" 41 irc: "chat.freenode.net#toktok-status"
42
43branches:
44 only:
45 - master