forked from Aorimn/dislocker
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
42 lines (35 loc) · 1.08 KB
/
.travis.yml
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
language: c
compiler:
- clang
- gcc
jobs:
include:
- os: linux
disk: focal
- os: linux
disk: bionic
- os: linux
dist: xenial
- os: osx
osx_image: xcode11.6
before_install:
- echo $PATH
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -qq libfuse-dev ruby-dev libmbedtls-dev; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install -v Caskroom/cask/macfuse; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./src/mbed_install.sh; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH="/usr/bin:/usr/local/bin:$PATH"; fi
install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake .; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake . -DCMAKE_C_COMPILER=/usr/bin/clang; fi
- make VERBOSE=1
- sudo make install
script:
- make travis-test
notifications:
email:
recipients:
on_success: always
on_failure: always