summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 2caad5d38fb6cef2b258ebd87aeee026cc011e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: c
compiler:
 - gcc
 - clang
notifications:
    email: false
before_install:
  - sudo add-apt-repository ppa:staticfloat/julia-deps -y
  - sudo add-apt-repository ppa:staticfloat/juliareleases -y
  - sudo apt-get update -qq -y
  - sudo apt-get install libpcre3-dev julia fontforge -y
script:
    - make prefix=`pwd`/local install
    - make check
    - make data && (diff data/utf8proc_data.c.new utf8proc_data.c > /dev/null)
    - (mkdir build_static && cd build_static && cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON && make)
    - (mkdir build_shared && cd build_shared && cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_SHARED_LIBS=ON && make)