forked from lailongwei/llbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (35 loc) · 1.55 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
language: cpp
compiler:
- g++
- clang++
os:
- linux
# - osx
sudo: yes
install:
# linux platform install instructions
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo apt-get install -y uuid-dev; fi
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo apt-get install -y python2.7-dev; fi
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF; fi
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list; fi
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo apt-get update; fi
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo apt-get install -y mono-complete; fi
# osx platform install instructions
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install mono; fi
script:
# core library about make instructions
- make core_lib -j4 # make c++ core library
- make test -j4 # make c++ core library testsuite
# wrap library about make instructions
# - make cs_wrap -j4 # make csharp wrap library
- make lu_wrap # make lua wrap library
notifications:
email:
recipients:
- 964855959@qq.com # Longwei Lai
- huangrongfu00@gmail.com # Rongfu Huang
- najoast@126.com # Yan Zhou
- caochunxi@hotmail.com # Chunxi Cao
- 120453674@qq.com # Huiya Song
on_success: change
on_failure: always