* Update main_manticore.py * Fix python3 in CMake [skip ci] * Update StreamingAndFormatting.cpp * [skip ci] * Update .travis.yaml [skip ci] * Temporarily disable OneOf test using manticore (it is broken) * Update README [skip ci]
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
dist: xenial
|
|
sudo: true
|
|
language: python
|
|
python:
|
|
- 3.6.5
|
|
install:
|
|
- sudo apt-get -y update
|
|
- sudo apt-get -y install build-essential gcc-multilib cmake python3-pip python3-setuptools libffi-dev python3-nose
|
|
- pip3 install pip
|
|
- pip3.6 -V
|
|
- pip3.6 install pyflakes
|
|
- pip3.6 install angr
|
|
- pip3.6 install https://github.com/trailofbits/manticore/archive/master.zip
|
|
- mkdir build
|
|
- cd build
|
|
- cmake ..
|
|
- sudo make install
|
|
- cd ..
|
|
env:
|
|
- TASK=ARITHMETIC
|
|
- TASK=CRASH
|
|
- TASK=FIXTURE
|
|
- TASK=KLEE
|
|
- TASK=LISTS
|
|
- TASK=ONEOF
|
|
- TASK=OVERFLOW
|
|
- TASK=PRIMES
|
|
- TASK=RUNLEN
|
|
#- TASK=STREAMINGANDFORMATTING
|
|
- TASK=TAKEOVER
|
|
script:
|
|
- pyflakes bin/deepstate/*.py
|
|
- pyflakes tests/*.py
|
|
- if [ $TASK = ARITHMETIC ]; then nosetests3 tests/test_arithmetic.py ; fi
|
|
- if [ $TASK = CRASH ]; then nosetests3 tests/test_crash.py ; fi
|
|
- if [ $TASK = FIXTURE ]; then nosetests3 tests/test_fixture.py ; fi
|
|
- if [ $TASK = KLEE ]; then nosetests3 tests/test_klee.py ; fi
|
|
- if [ $TASK = LISTS ]; then nosetests3 tests/test_lists.py ; fi
|
|
- if [ $TASK = ONEOF ]; then nosetests3 tests/test_oneof.py ; fi
|
|
- if [ $TASK = RUNLEN ]; then nosetests3 tests/test_runlen.py ; fi
|
|
- if [ $TASK = OVERFLOW ]; then nosetests3 tests/test_overflow.py ; fi
|
|
- if [ $TASK = PRIMES ]; then nosetests3 tests/test_primes.py ; fi
|
|
#- if [ $TASK = STREAMINGANDFORMATTING ]; then nosetests3 tests/test_streamingandformatting.py ; fi
|
|
- if [ $TASK = TAKEOVER ]; then nosetests3 tests/test_takeover.py ; fi
|
|
|