forked from dafny-lang/dafny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 878 Bytes
/
.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
language: csharp
dist: xenial
solution: "dafny/Source/Dafny.sln"
addons:
apt:
packages:
- golang-go
- nodejs
- npm
install:
- cd ..
- sudo npm install bignumber.js
- sudo pip install lit OutputCheck pyyaml
- find . -type f
# Get Boogie
- git clone https://github.com/boogie-org/boogie.git
- msbuild boogie/Source/Boogie.sln
# Get Z3
- wget https://github.com/Z3Prover/z3/releases/download/z3-4.8.4/z3-4.8.4.d6df51951f4c-x64-ubuntu-14.04.zip
- unzip z3*.zip && rm *.zip
- cp -r z3* dafny/Binaries/z3
# NuGet is a little flakey in legacy TravisCI, use travis_retry command to retry the command if it fails
- travis_retry nuget restore ${TRAVIS_SOLUTION}
script:
- msbuild ${TRAVIS_SOLUTION}
- cd dafny/Test
# The /optimize flag does not work on mono
- find . -name "*.dfy" -exec sed -i 's!/optimize !!g' {} +
- lit -v .