mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
Refactored before_script for TravisCI
This commit is contained in:
parent
22a23ee977
commit
9bb251e14a
26
.travis.yml
26
.travis.yml
@ -2,7 +2,31 @@ language: cpp
|
|||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
before_script:
|
before_script:
|
||||||
- sudo apt-get install libboost-all-dev libphysfs-dev libssl-dev liblua5.1-dev libglew-dev libvorbis-dev libopenal-dev libz-dev -y
|
- |-
|
||||||
|
set -o errexit
|
||||||
|
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y \
|
||||||
|
build-essential \
|
||||||
|
cmake \
|
||||||
|
git-core \
|
||||||
|
libboost-all-dev \
|
||||||
|
libglew-dev \
|
||||||
|
liblua5.1-0-dev \
|
||||||
|
libncurses5-dev \
|
||||||
|
libopenal-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libvorbis-dev \
|
||||||
|
mercurial \
|
||||||
|
zlib1g-dev
|
||||||
|
|
||||||
|
hg clone -r stable-2.0 http://hg.icculus.org/icculus/physfs/
|
||||||
|
mkdir -p physfs/build
|
||||||
|
pushd physfs/build
|
||||||
|
cmake ..
|
||||||
|
make -j$(nproc)
|
||||||
|
sudo make install
|
||||||
|
popd
|
||||||
script: |
|
script: |
|
||||||
cmake . -DCMAKE_BUILD_TYPE=Release
|
cmake . -DCMAKE_BUILD_TYPE=Release
|
||||||
make
|
make
|
||||||
|
Loading…
x
Reference in New Issue
Block a user