@@ -9,68 +9,70 @@ addons:
9
9
- cmake
10
10
- python3-yaml
11
11
- python3-psutil
12
+ - python3-pip
12
13
- unzip
13
- - libz-dev
14
- - libedit-dev
14
+ - ninja-build
15
15
- libboost-all-dev
16
16
17
- cache :
18
- directories :
19
- - $HOME/build/smackers/boogie
20
- - $HOME/build/smackers/corral
21
- - $HOME/build/smackers/symbooglix
22
- - $HOME/build/smackers/lockpwn
23
-
24
17
env :
25
18
global :
26
19
- COMPILER_NAME=clang COMPILER=clang++ CXX=clang++ CC=clang
27
20
jobs :
28
21
- TRAVIS_ENV="--exhaustive --folder=c/basic"
29
22
- TRAVIS_ENV="--exhaustive --folder=c/data"
30
23
- TRAVIS_ENV="--exhaustive --folder=c/ntdrivers-simplified"
24
+ - TRAVIS_ENV="--exhaustive --folder=c/ntdrivers"
31
25
- TRAVIS_ENV="--exhaustive --folder=c/bits"
32
26
- TRAVIS_ENV="--exhaustive --folder=c/float"
33
27
- TRAVIS_ENV="--exhaustive --folder=c/locks"
34
28
- TRAVIS_ENV="--exhaustive --folder=c/contracts"
35
29
- TRAVIS_ENV="--exhaustive --folder=c/simd"
36
30
- TRAVIS_ENV="--exhaustive --folder=c/memory-safety"
37
31
- TRAVIS_ENV="--exhaustive --folder=c/pthread"
32
+ - TRAVIS_ENV="--exhaustive --folder=c/pthread_extras"
38
33
- TRAVIS_ENV="--exhaustive --folder=c/strings"
39
34
- TRAVIS_ENV="--exhaustive --folder=c/special"
35
+ - TRAVIS_ENV="--exhaustive --folder=rust/array --languages=rust"
40
36
- TRAVIS_ENV="--exhaustive --folder=rust/basic --languages=rust"
37
+ - TRAVIS_ENV="--exhaustive --folder=rust/box --languages=rust"
41
38
- TRAVIS_ENV="--exhaustive --folder=rust/functions --languages=rust"
42
39
- TRAVIS_ENV="--exhaustive --folder=rust/generics --languages=rust"
43
40
- TRAVIS_ENV="--exhaustive --folder=rust/loops --languages=rust"
41
+ - TRAVIS_ENV="--exhaustive --folder=rust/panic --languages=rust"
44
42
- TRAVIS_ENV="--exhaustive --folder=rust/recursion --languages=rust"
45
43
- TRAVIS_ENV="--exhaustive --folder=rust/structures --languages=rust"
46
44
- TRAVIS_ENV="--exhaustive --folder=rust/vector --languages=rust"
47
45
48
46
before_install :
47
+ - sudo rm -rf /usr/local/clang-7.0.0
48
+
49
+ install :
50
+ - source ./bin/versions
49
51
- wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
50
- - sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main"
51
- - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
52
+ - sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-${LLVM_SHORT_VERSION} main"
53
+ - wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
54
+ - sudo dpkg -i packages-microsoft-prod.deb
52
55
- sudo apt-get install -y apt-transport-https
53
- - echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
54
56
- sudo apt-get update
57
+ - sudo apt-get install -y clang-${LLVM_SHORT_VERSION} clang-format-${LLVM_SHORT_VERSION} llvm-${LLVM_SHORT_VERSION}-dev dotnet-sdk-3.1
58
+ - pip3 install -U flake8
59
+ - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${LLVM_SHORT_VERSION} 20
60
+ - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${LLVM_SHORT_VERSION} 20
61
+ - sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${LLVM_SHORT_VERSION} 20
62
+ - sudo update-alternatives --install /usr/bin/llvm-link llvm-link /usr/bin/llvm-link-${LLVM_SHORT_VERSION} 20
63
+ - sudo update-alternatives --install /usr/bin/llvm-dis llvm-dis /usr/bin/llvm-dis-${LLVM_SHORT_VERSION} 20
64
+ - sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-${LLVM_SHORT_VERSION} 20
55
65
56
- install :
57
- - sudo apt-get install -y clang-8 clang-format-8 llvm-8-dev mono-complete ca-certificates-mono ninja-build
58
- - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 20
59
- - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-8 20
60
- - sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-8 20
61
- - sudo update-alternatives --install /usr/bin/llvm-link llvm-link /usr/bin/llvm-link-8 20
62
- - sudo update-alternatives --install /usr/bin/llvm-dis llvm-dis /usr/bin/llvm-dis-8 20
63
- - sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-8 20
64
- - sudo pip install pyyaml psutil
65
-
66
- script :
67
- - python --version
66
+ before_script :
68
67
- python3 --version
69
68
- $CXX --version
70
69
- $CC --version
71
70
- clang --version
72
71
- clang++ --version
73
72
- llvm-link --version
74
73
- llvm-config --version
74
+
75
+ script :
75
76
- ./format/run-clang-format.py -e test/c/basic/transform-out.c -r lib/smack include/smack share/smack/include share/smack/lib test examples
77
+ - flake8 test/regtest.py share/smack/ --extend-exclude share/smack/svcomp/,share/smack/reach.py
76
78
- INSTALL_RUST=1 ./bin/build.sh
0 commit comments