forked from JACoders/OpenJK
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (39 loc) · 1.13 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
language: cpp
sudo: required
dist: trusty
install:
- |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 && \
sudo apt-get update && \
sudo apt-get -y install \
build-essential \
software-properties-common \
cmake \
cpp \
g++ \
g++-multilib \
gcc \
git-core \
libc6-dev \
libgl1-mesa-dev \
libglib2.0-dev \
libglu1-mesa \
libglu1-mesa-dev \
libjpeg-turbo8-dev \
libpng12-dev \
libpulse-dev \
libsdl2-dev \
zlib1g-dev \
libegl1-mesa-dev \
libgles2-mesa-dev
- |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update && \
sudo apt-get -y install \
gcc-7 \
g++-7 && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 && \
sudo update-alternatives --config gcc
script:
- git clone https://github.com/0xBANANA/RandomJK.git RandomJK
- cd RandomJK && mkdir Build && cd Build && cmake .. && make -j 4