Skip to content

Commit

Permalink
Travis: Use MegaGlest mirror for defunct GetDeb repo
Browse files Browse the repository at this point in the history
See #1296.
  • Loading branch information
akien-mga committed Oct 23, 2018
1 parent 7da1508 commit 71cefc5
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .travis.yml
Expand Up @@ -5,34 +5,25 @@ dist: trusty

os:
- linux
# would be nice to check build with osx
# - osx

compiler:
- gcc

#addons:
#apt:
#packages:
#- make
#- cmake
#- binutils-dev

before_install:
- gcc --version
- sudo apt-get update -qq
# OD dependencies
- sudo apt-get install -y cmake pkg-config libogre-1.9-dev libopenal-dev libsfml-dev libois-dev
- sudo apt-get install -y libboost-filesystem-dev libboost-locale-dev libboost-program-options-dev libboost-date-time-dev libboost-thread-dev libboost-system-dev libboost-test-dev
# Install CEGUI from GetDeb
- wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
- sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu trusty-getdeb games" >> /etc/apt/sources.list.d/getdeb.list'
- sudo apt-get update -qq; sudo apt-get install -y libcegui-0.8-dev
# GetDeb repo is down, can't find the key anymore
# We can however still use its MegaGlest mirror for now
#- wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
- sudo sh -c 'echo "deb http://getdeb.megaglest.org/ubuntu trusty-getdeb games" >> /etc/apt/sources.list.d/getdeb.list'
- sudo apt-get update -qq --allow-unauthenticated; sudo apt-get install -y --allow-unauthenticated libcegui-0.8-dev

script:
- cmake . -DOD_BUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release
- make -j2
- make install DESTDIR=./install-root
- ./scripts/unix/run_unit_tests.sh

#cache: apt

0 comments on commit 71cefc5

Please sign in to comment.