forked from GoogleCloudPlatform/google-cloud-dotnet-debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (29 loc) · 1.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: csharp
sudo: required
dist: trusty
group: deprecated-2017Q4
mono: none
dotnet: 2.0.0
before_install:
# Needed for protobuf
- sudo apt-get install autoconf automake libtool curl make g++ unzip
# Needed for coreclr
- sudo apt-get install cmake llvm-3.9 clang-3.9 lldb-3.9 liblldb-3.9-dev libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev libcurl4-openssl-dev libssl-dev libkrb5-dev
script:
# Build dependencies
- ./build-deps.sh
# Build all code.
- ./build.sh
# Run the unit tests.
- ./run_unit_tests.sh
cache:
# Wait 20 min for cache (these directories are large).
timeout: 1200
directories:
- $TRAVIS_BUILD_DIR/third_party/googletest/googletest/make
- $TRAVIS_BUILD_DIR/third_party/googletest/googlemock/make
- $TRAVIS_BUILD_DIR/third_party/coreclr/bin/Product/Linux.x64.Debug
- $TRAVIS_BUILD_DIR/third_party/protobuf/src
# TODO(talarico): Hack to get build working as the scripts are not setting this properly.
env:
- LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/third_party/coreclr/bin/Product/Linux.x64.Debug