mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 17:49: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:
|
||||
- gcc
|
||||
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: |
|
||||
cmake . -DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
|
Loading…
x
Reference in New Issue
Block a user