Skip to content

Commit

Permalink
Move travis to newest Ubuntu bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Jul 30, 2019
1 parent 037193e commit 3e87203
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
16 changes: 2 additions & 14 deletions .travis.yml
Expand Up @@ -2,20 +2,8 @@ language: cpp
compiler:
- gcc
- clang
sudo: false
dist: trusty
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
dist: bionic
before_install: sudo apt-get install -y cmake libgd-dev libsqlite3-dev libleveldb-dev
script: ./util/travis/script.sh
notifications:
email: false
Expand Down
11 changes: 2 additions & 9 deletions util/travis/script.sh
@@ -1,15 +1,8 @@
#!/bin/bash -e

CXX=g++-7
[ $CC == "clang" ] && CXX=clang++-5.0
export CXX


mkdir -p travisbuild
cd travisbuild

cmake \
-DENABLE_LEVELDB=1 \
..
cmake .. \
-DENABLE_LEVELDB=1

make -j2

0 comments on commit 3e87203

Please sign in to comment.