mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-24 00:13:53 +01:00
Move travis to newest Ubuntu bionic
This commit is contained in:
parent
037193eec8
commit
3e8720313b
16
.travis.yml
16
.travis.yml
@ -2,20 +2,8 @@ language: cpp
|
|||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
sudo: false
|
dist: bionic
|
||||||
dist: trusty
|
before_install: sudo apt-get install -y cmake libgd-dev libsqlite3-dev libleveldb-dev
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
sources:
|
|
||||||
- llvm-toolchain-trusty-5.0
|
|
||||||
- ubuntu-toolchain-r-test
|
|
||||||
packages:
|
|
||||||
- cmake
|
|
||||||
- libgd2-dev
|
|
||||||
- libsqlite3-dev
|
|
||||||
- libleveldb-dev
|
|
||||||
- g++-7
|
|
||||||
- clang-5.0
|
|
||||||
script: ./util/travis/script.sh
|
script: ./util/travis/script.sh
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
@ -1,15 +1,8 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
CXX=g++-7
|
|
||||||
[ $CC == "clang" ] && CXX=clang++-5.0
|
|
||||||
export CXX
|
|
||||||
|
|
||||||
|
|
||||||
mkdir -p travisbuild
|
mkdir -p travisbuild
|
||||||
cd travisbuild
|
cd travisbuild
|
||||||
|
|
||||||
cmake \
|
cmake .. \
|
||||||
-DENABLE_LEVELDB=1 \
|
-DENABLE_LEVELDB=1
|
||||||
..
|
|
||||||
|
|
||||||
make -j2
|
make -j2
|
||||||
|
Loading…
Reference in New Issue
Block a user