Skip to content

Commit ef63b4a

Browse files
committed
CXX-74 move some things around in .travis-ci
1 parent 05be083 commit ef63b4a

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.travis.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
language: cpp
2+
3+
compiler:
4+
- gcc
5+
26
env:
37
global:
48
- PREFIX=$(mktemp -d /tmp/mongo-cxx-driver-install.XXXXXX || exit 1)
59

10+
# Setup required repositories before installation
11+
before_install:
12+
- sudo add-apt-repository -y ppa:boost-latest/ppa
13+
- sudo apt-get update -qq
14+
15+
# Install the latest boost version
16+
install:
17+
- sudo apt-get install -qq libboost1.55-all-dev
18+
619
script:
720
- $CXX --version
821
- scons
@@ -18,13 +31,3 @@ script:
1831
test
1932
clientTests
2033
check-install-mongoclient
21-
compiler:
22-
- gcc
23-
24-
# Setup repos etc before installation
25-
before_install:
26-
- sudo add-apt-repository -y ppa:boost-latest/ppa
27-
- sudo apt-get update -qq
28-
29-
install:
30-
- sudo apt-get install -qq libboost1.55-all-dev

0 commit comments

Comments
 (0)