forked from ring-lang/ring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (36 loc) · 2.23 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
sudo: required
language: c
os:
- linux
- osx
compiler:
- gcc
- clang
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq unixodbc ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq unixodbc-dev ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libmysqlclient-dev ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libcurl4-gnutls-dev ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libssl-dev ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install liballegro5-dev ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install qtbase5-dev ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install qtmobility-dev ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install qtmultimedia5-dev ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install unixodbc ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mysql-connector-c ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install allegro ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install homebrew/versions/qt55 ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --force qt55 ; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd src && sudo ./buildgcccomplete.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../extensions/ringcurl && ./gencode.sh && ./buildgcc.sh ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../extensions/ringallegro && ./gencode.sh && ./buildgcc.sh ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringqt && ./gencode.sh && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd src && ./buildclangcomplete.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd ../extensions/ringallegro && ./gencode.sh && ./buildclang.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd ../ringqt && ./gencode.sh && ./buildclang.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd ../ringcurl && ./gencode.sh && ./buildclang.sh ; fi
notifications:
email: false