提交 20f6f035 编写于 作者: W wuzewu

Fix ci issue

上级 172cf745
...@@ -4,10 +4,11 @@ jobs: ...@@ -4,10 +4,11 @@ jobs:
include: include:
- name: "CI on Windows/Python3.6" - name: "CI on Windows/Python3.6"
os: windows os: windows
python: 3.6 language: shell
- name: "CI on MacOS/Python3.6" before_install:
os: osx - choco install python --version 3.6.0
python: 3.6 - python -m pip install --upgrade pip
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: "CI on Linux/Python3.6" - name: "CI on Linux/Python3.6"
os: linux os: linux
python: 3.6 python: 3.6
...@@ -18,10 +19,12 @@ jobs: ...@@ -18,10 +19,12 @@ jobs:
os: linux os: linux
python: 2.7 python: 2.7
env:
- PYTHONPATH=${PWD}
install: install:
- pip install --upgrade paddlepaddle - pip install --upgrade paddlepaddle
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install .
script: script:
- if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then /bin/bash ./scripts/check_code_style.sh; fi - if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then /bin/bash ./scripts/check_code_style.sh; fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册