summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 787a6e3934364a40ccf5e88630c66e10c9182436 (plain)
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
language: c

matrix:
  include:
    - env: BUILD=hstox ENV=linux
      language: haskell
      ghc: 7.8
    - env: BUILD=toxcore ENV=linux
      compiler: clang
    - env: BUILD=toxcore ENV=linux
      compiler: gcc
    - env: BUILD=autotools ENV=linux
      compiler: clang

addons:
  apt:
    sources:
      - avsm
    packages:
      - check
      - libvpx-dev
      - opam            # For apidsl and Frama-C.
      - texinfo         # For libconfig.

cache:
  directories:
    # Although Travis documentation says not to rely on the value of $HOME, we
    # rely on it here because cabal installs its packages there by default. If
    # that ever changes, these values need to be updated.
    # Note that we can't use shell expressions in these paths, so we can't ask
    # cabal where its data is stored.
    - $HOME/.cabal
    - $HOME/.ghc
    - $HOME/cache

install:      other/travis/${BUILD}-install
script:       other/travis/${BUILD}-script
after_script: other/travis/${BUILD}-after_script

notifications:
  irc: "chat.freenode.net#toktok-status"

branches:
  only:
    - master