-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (51 loc) · 1.6 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
43
44
45
46
47
48
49
50
51
52
53
54
matrix:
include:
- os: linux
sudo: required
dist: focal
compiler: gcc
- os: linux
sudo: required
dist: bionic
compiler: gcc
- os: linux
sudo: required
dist: xenial
compiler: gcc
- os: osx
osx_image: xcode10.3
language: cpp
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; fi
# SDL1.2 specific part
#-----------------------
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sdl; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libsdl1.2-dev; fi
# End of SDL1.2 specific part
#-----------------------
- MY_LOCATION=`pwd`
- mkdir ../repositories
- cd ..
- mv $MY_LOCATION repositories
- QUICKY_REPOSITORY=`pwd`/repositories
- export QUICKY_REPOSITORY
- MY_LOCATION=`pwd`
- cd $MY_LOCATION/repositories
- git clone https://github.com/quicky2000/quicky_tools.git
- git clone https://github.com/quicky2000/lib_gif.git
- git clone https://github.com/quicky2000/parameter_manager.git
- git clone https://github.com/quicky2000/quicky_exception.git
- git clone https://github.com/quicky2000/simple_gui.git
- git clone https://github.com/quicky2000/quicky_utils.git
- cd quicky_tools/setup
- . setup.sh
- cd $MY_LOCATION
- chmod a+x repositories/quicky_tools/bin/*
- mkdir build
- cd build
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then generate_makefile gif_player ; make ; cd $MY_LOCATION; mkdir cmake_build ; cd cmake_build ; fi
- cmake $QUICKY_REPOSITORY/gif_player
- make
#EOF