Skip to content

Commit

Permalink
Fix travis-ci build (#135)
Browse files Browse the repository at this point in the history
* delete win_setup.bat

clean up unnecessary files

* Update usage.md

syncing merge #95

* using pip current for unicorn

* unicorn head with pip

* using -e for pip install

* test 3 pip github

* git install #4

* pip github test #5

* pip install github #6

* src installation unicorn engine

* src install unicorn engine

* src installation

* src install test #7

* revert travis

* fix travis

* fix travis parser error

* travis error fixed

* fix travis error

* fix travis indent error

* Revert "fix travis error"

This reverts commit c72c42c.

* run docker with privileged mode

* docker test with privilege

* remove osx from allow_failures

Co-authored-by: chfl4gs <chbse64@gmail.com>
  • Loading branch information
chfl4gs and chfl4gs authored Mar 11, 2020
1 parent fee463e commit 961230f
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ matrix:
before_install:
- pip3 install --upgrade pip
install:
#- travis_wait pip3 install 'capstone>=4.0.1' 'pefile>=2019.4.18' 'python-registry>=1.3.1' 'unicorn==1.0.2rc1'
- travis_wait pip3 install -r requirements.txt
- git clone https://github.com/keystone-engine/keystone
- cd keystone
Expand Down Expand Up @@ -64,7 +65,7 @@ matrix:
- choco install python --version=3.6.8
#- choco install python
#- choco install kb2999226
- python -m pip install --upgrade pip
#- python -m pip install --upgrade pip
install:
- pip install 'capstone>=4.0.1' 'pefile>=2019.4.18' 'python-registry>=1.3.1' 'unicorn>=1.0.2rc1'
- git clone https://github.com/keystone-engine/keystone
Expand All @@ -84,7 +85,15 @@ matrix:
- cd $TRAVIS_BUILD_DIR/tests
script:
- python test_pe_nu.py


- name: "Python 3.6 on Docker"
services:
- docker
before_install:
- docker build -t qiling:1.0 .
script:
- docker run --privileged qiling:1.0 /bin/sh -c "cd tests && python3 test_all.py"

# - name: "Python 3.6 on WSL1 Ubuntu"
# os: windows
# language: shell
Expand All @@ -102,14 +111,6 @@ matrix:
# - cd tests
# script:
# - wsl python3 test_all.py

- name: "Python 3.6 on Docker"
services:
- docker
before_install:
- docker build -t qiling:1.0 .
script:
- docker run qiling:1.0 /bin/sh -c "cd tests && python3 test_all.py"

allow_failures:
- os: osx
# allow_failures:
# - os: osx

0 comments on commit 961230f

Please sign in to comment.