summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: e723a6373baa8cc23392ad888404c1e767512c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: c
dist: trusty
sudo: required

os:
  - linux
  - osx

compiler:
  - gcc
  - clang

before_install:
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS" LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"; fi'

# Build steps
script:
  - mkdir build
  - cd build
  - cmake .. && make