forked from maddinat0r/samp-tsconnector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
20 lines (20 loc) · 889 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: cpp
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get -qq install -yfm libc6-dev-i386 g++-4.7-multilib cmake
- sudo apt-get -qq install -yf libicu48:i386
- sudo apt-get -qq install -yf libicu-dev:i386
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 99 --slave /usr/bin/g++ g++ /usr/bin/g++-4.7
- wget -O boost_1_57_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.57.0/boost_1_57_0.tar.gz/download
- tar xzf boost_1_57_0.tar.gz
install:
- cd boost_1_57_0/
- sudo bash bootstrap.sh --prefix=/usr/local --with-libraries=system,chrono,thread,regex,date_time,atomic
- sudo ./b2 variant=release link=static threading=multi address-model=32 runtime-link=shared -j 4 -d0 install
- sudo ldconfig
- cd ..
script:
- mkdir build && cd build
- cmake ..
- make