summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 47ce66db55e01c72c170354f7b8cdf0c856ff953 (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
os: linux
language: cpp
dist: bionic

addons:
  apt:
    sources:
      - sourceline: 'ppa:nuspell/ppa'
    packages:
      - libglib2.0-dev
      - libaspell-dev
      - hspell
      - libhunspell-dev
      - libvoikko-dev
      - voikko-fi
      - aspell-en
      - libunittest++-dev
      - hunspell-fr
      - libnuspell-dev
  homebrew:
  # Note: aspell should work on macOS, but has been removed because one of
  # the tests fails; see https://github.com/Homebrew/homebrew-core/issues/4097
    packages:
      - glib
      - dbus-glib
      - hspell
      - hunspell
      - libvoikko
      - unittest-cpp
    update: true

env:
  global:
    - VERBOSE=1 # Get test logs in Travis logs

jobs:
  include:
    - os: linux
      env:
        - ASAN=yes
    - os: osx

script:
  - ./build-aux/travis-build.sh