Update CI

This commit is contained in:
Romain Thomas 2020-12-17 08:23:32 +01:00
parent 749241db92
commit e59c7a992d
2 changed files with 8 additions and 7 deletions

View File

@ -1,10 +1,6 @@
name: LIEF Windows Tests
on:
push:
branches:
- master
pull_request:
on: [pull_request]
jobs:
build:

View File

@ -191,8 +191,13 @@ after_success:
- sudo $PYTHON_BINARY -m pip install --upgrade setuptools
- sudo $PYTHON_BINARY -m pip install --upgrade requests mako wheel
- cd $TRAVIS_BUILD_DIR
- bash ./.github/deploy.sh
- if [[ "$TRAVIS_OS_NAME" == "osx" && "$PYTHON_VERSION" == "3.7" ]]; then $PYTHON_BINARY ./.github/trigger_docker.py ;fi
- if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" ]]; then bash ./.github/deploy.sh; fi
- >
if [[ "$TRAVIS_OS_NAME" == "linux" && "$PYTHON_VERSION" == "3.7" && "$TRAVIS_EVENT_TYPE" != "pull_request"]];
then
docker run -e CIRCLE_CI_TOKEN=$CIRCLE_CI_TOKEN liefproject/manylinux1_x86_64
bash -c "curl --request POST --url https://circleci.com/api/v2/project/gh/lief-project/doc/pipeline --header 'Circle-Token: ${CIRCLE_CI_TOKEN}' --header 'content-type: application/json'"
;fi
deploy: