-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (48 loc) · 1.17 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
dist: trusty
sudo: false
language: c
compiler: gcc
env:
global:
- TUP_PREFIX=$HOME/tup
- SDL_VERSION=2.0.8
- SDL_URL="https://www.libsdl.org/release/SDL2-${SDL_VERSION}.tar.gz"
- SDL_PREFIX=$HOME/sdl2
addons:
apt:
update: true
sources:
- deadsnakes
packages:
- fuse
- libfuse-dev
- python3.6-dev
- python3.6-venv
- pkg-config
install:
- eval "${TOOLCHAIN}"
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
- cd $HOME
- git clone git://github.com/gittup/tup.git $TUP_PREFIX
- cd $TUP_PREFIX
- sh bootstrap.sh
- $TUP_PREFIX/tup -v
- cd $HOME
- echo $SDL_URL
- gcc -v
- travis_retry curl -L $SDL_URL | tar xz
- cd SDL2-$SDL_VERSION
- ./configure --prefix=$SDL_PREFIX
- make -j4
- sudo make install
script:
- cd $TRAVIS_BUILD_DIR
- python3.6 -m venv .env
- source .env/bin/activate
- python -m pip install --upgrade pip
- python -m pip install -r requirements.txt
- python -m pip install -t core/beer/python/site-packages -r core/beer/python/requirements.txt
- PKG_CONFIG_PATH=$SDL_PREFIX/lib/pkgconfig python configure.py
- $TUP_PREFIX/tup