forked from ring-lang/ring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (29 loc) · 2.04 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
sudo: required
language: c
os:
- linux
- osx
compiler:
- gcc
- clang
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libcurl4-gnutls-dev openssl unixodbc unixodbc-dev libmysqlclient-dev liballegro5-dev liballegro-image5-dev liballegro-ttf5-dev liballegro-audio5-dev liballegro-acodec5-dev liballegro-dialog5-dev liballegro-physfs5-dev qt5-default qtbase5-dev qtmultimedia5-dev libqt5webkit5-dev libqt5serialport5-dev qtconnectivity5-dev qtdeclarative5-dev qtpositioning5-dev libqt5opengl5-dev libudev-dev mesa-common-dev freeglut3-dev ; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt@5 ; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --force qt ; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd language/src && sudo ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../../extensions/ringcurl && ./gencode.sh && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringinternet && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringopenssl && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringmysql && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringodbc && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringsqlite && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringqt && ./gencode.sh && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringallegro && ./gencode.sh && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringfreeglut && ./gencode.sh && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ringopengl/opengl21 && ./gencode.sh && ./buildgcc.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd language/src && ./buildclang.sh ; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd ../../extensions/ringqt && ./gencodemac.sh && ./buildclang.sh ; fi
notifications:
email: false