diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0770f977d1..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,53 +0,0 @@ -language: python -python: -- '3.8' -services: -- docker -before_install: -- python3 /home/travis/build/$TRAVIS_REPO_SLUG/generate_dockerfile.py --endpoint_list - avatar-qemu panda --qemu_targets arm-softmmu mips-softmmu -install: -- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" || true -- docker build --tag avatar2 . -before_script: -- docker run -v /home/travis/build/$TRAVIS_REPO_SLUG:/avatar2 --name avatar2 --cap-add=SYS_PTRACE - --security-opt seccomp=unconfined -dit avatar2 -- docker exec avatar2 pip3 install nose -script: -- docker exec avatar2 bash -c 'cd avatar2/ && nosetests ./tests/test_remote_memoryprotocol.py' -- docker exec avatar2 bash -c 'cd avatar2/ && nosetests ./tests/test_gdbprotocol.py' -- docker exec avatar2 bash -c 'cd avatar2/ && nosetests ./tests/test_gdbplugin.py' -- docker exec avatar2 bash -c 'cd avatar2/ && nosetests ./tests/test_inceptionprotocol.py' -- docker exec avatar2 bash -c 'cd avatar2/ && AVATAR2_GDB_EXECUTABLE=gdb-multiarch - AVATAR2_ARCH=ARM AVATAR2_QEMU_EXECUTABLE=qemu-system-arm nosetests ./tests/test_qemutarget.py' -- docker exec avatar2 bash -c 'cd avatar2/ && AVATAR2_GDB_EXECUTABLE=gdb-multiarch - AVATAR2_ARCH=MIPS AVATAR2_QEMU_EXECUTABLE=qemu-system-mips nosetests ./tests/test_qemutarget.py' -- docker exec avatar2 bash -c 'cd avatar2/ && AVATAR2_GDB_EXECUTABLE=gdb-multiarch - AVATAR2_QEMU_EXECUTABLE=qemu-system-arm nosetests ./tests/pyperipheral/test_pyperipheral.py' -- docker exec avatar2 bash -c 'cd avatar2/ && AVATAR2_GDB_EXECUTABLE=gdb-multiarch - AVATAR2_ARCH=ARM AVATAR2_QEMU_EXECUTABLE=panda-system-arm nosetests ./tests/test_qemutarget.py' -- docker exec avatar2 bash -c 'cd avatar2/ && AVATAR2_GDB_EXECUTABLE=gdb-multiarch - AVATAR2_ARCH=MIPS AVATAR2_QEMU_EXECUTABLE=panda-system-mips nosetests ./tests/test_qemutarget.py' -- docker exec avatar2 bash -c 'cd avatar2/ && AVATAR2_GDB_EXECUTABLE=gdb-multiarch - AVATAR2_QEMU_EXECUTABLE=panda-system-arm nosetests ./tests/pyperipheral/test_pyperipheral.py' -- docker exec avatar2 bash -c 'cd avatar2/ && AVATAR2_GDB_EXECUTABLE=gdb-multiarch - AVATAR2_QEMU_EXECUTABLE=panda-system-arm AVATAR2_PANDA_EXECUTABLE=panda-system-arm - nosetests ./tests/smoke/panda_thumb.py' -- docker exec avatar2 bash -c 'cd avatar2/ && AVATAR2_GDB_EXECUTABLE=gdb-multiarch - AVATAR2_QEMU_EXECUTABLE=panda-system-arm AVATAR2_PANDA_EXECUTABLE=panda-system-arm - nosetests ./tests/test_pypandatarget.py' -- docker exec avatar2 bash -c 'cd avatar2/ && python3 ./tests/hello_world.py' -- docker exec avatar2 bash -c 'cd avatar2/ && python3 ./tests/gdb_memory_map_loader.py' -- docker exec avatar2 bash -c 'cd avatar2/ && nosetests --processes=-1 --process-timeout=20 - ./tests/smoke/target_wait.py' -- docker exec avatar2 bash -c 'cd avatar2/ && AVATAR2_GDB_EXECUTABLE=gdb-multiarch - AVATAR2_QEMU_EXECUTABLE=panda-system-arm nosetests --processes=-1 --process-timeout=20 - ./tests/smoke/54_sync_hooks.py' -deploy: - provider: pypi - username: "__token__" - password: - secure: IV6/5UW9frUPb51sY4/0VY0DMwhkI46qp1NyjqJwMlWx98ln8xEhdY2SaJNfGLeqTzHYsx5AF9+3PKSB4p3bAIGxkKF7WmS8bs/mjZuObQPN+amskW75QO5InMZJLxBsyjJzI9ljpN6oqGFWFg9TDABp0SpTc9WXNPAejn6Of/oIlpqbjjA5kAavERvHlra4UjzmF7I/l1aL0lxFhdZe0Rnr74lUN4W6A4NikisQtM5HXrB4EOMt6E2FRFlxCYOch7KSELHCqh3cjt8bryFYXW6bEgKoAv2vdkdJeE+3/FpbOMOR0gG/mrkQ0V6yDEeOQNnZBIJLEhovjT7HrXTRxL2yurwQNGNGA7ruw9iCmVKvzFlUTMiE0cmHaLK1ayWIU2hIBr47IZcvucdZmkCSczW9zCHrP4lvsnKILnHtsqfxMKBMwjQhnvlGUTs1Hr13pwbD6uunFFzul1DaYf06rNOnpPW5ZDGqVE4mwTXunMJe47Ko8VPdi4ROjOp92k85RLJp8U+Ye5yBRJxGVNvHTWjEFvu3H5FoPagRxrUxhN1fRWVpl6jELMWoPVMBBMuZgOR17lX0gpl7MECtxpcDFjQ+GXePY+gXLIpn9BpTHUaeFjfoIqMkhVHx9eTKV/LK0GsSUrQDKXsMsqtEvv6CKAorKMzFhoz5mgCkTIU1fdo= - on: - tags: true -