-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (29 loc) · 848 Bytes
/
.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
language: c++
matrix:
include:
- os: linux
dist: bionic
- os: linux
dist: focal
- os: linux
dist: focal
- os: osx
osx_image: xcode12.2
language: generic
env:
- HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=true
- HOMEBREW_NO_INSTALL_UPGRADE=true
- HOMEBREW_NO_INSTALL_CLEANUP=true
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
before_script:
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get -y update || true ; fi
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get install -y cmake libboost-test-dev || true ; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install cmake boost || true; fi
script:
- mkdir build && cd build
- ENABLE_UNIT_TEST=1 cmake ..
- make
- ./tests/unicode2gsm_test