forked from cea-sec/miasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 1.27 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
34
sudo: false
language: python
python: 2.7
addons:
apt:
sources: ['llvm-toolchain-trusty-6.0', 'ubuntu-toolchain-r-test']
packages:
- llvm-6.0
- llvm-6.0-dev
- g++-5
env:
global: CXX=g++-5 LLVM_CONFIG=llvm-config-6.0
matrix:
- MIASM_TEST_EXTRA_ARG="-o regression -t long,python,llvm,gcc,z3,qemu,cparser"
- MIASM_TEST_EXTRA_ARG="-o example -t long,python,llvm,gcc,z3,qemu,cparser"
- MIASM_TEST_EXTRA_ARG="-o long"
- MIASM_TEST_EXTRA_ARG="-o qemu -t llvm,gcc"
- MIASM_TEST_EXTRA_ARG="-o qemu -t python,gcc"
- MIASM_TEST_EXTRA_ARG="-o qemu -t python,llvm"
- MIASM_TEST_EXTRA_ARG="-o llvm -t qemu,long"
- MIASM_TEST_EXTRA_ARG="-o gcc -t qemu,long"
- MIASM_TEST_EXTRA_ARG="-o python -t qemu,long"
- MIASM_TEST_EXTRA_ARG="-o z3"
- MIASM_TEST_EXTRA_ARG="-o cparser"
before_script:
- pip install -r optional_requirements.txt
# codespell
- "pip install codespell && git ls-files | xargs codespell --ignore-words=.codespell_ignore 2>/dev/null"
# turn deprecation warning into RuntimeError
- "find . -name '*.py' | xargs sed -i 's/warnings\\.warn(/raise RuntimeError(/g'"
# install
- python setup.py build build_ext
- python setup.py install
script: cd test && python test_all.py $MIASM_TEST_EXTRA_ARG && git ls-files -o --exclude-standard