dist: xenial sudo: true language: python python: - 3.6.5 services: - docker 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/b590c41339e549689fdb9c5297735c1a0654b7fd.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 after_success: - bash push/run.sh