Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yeliudev committed Oct 22, 2020
1 parent 235f0df commit aeeff9d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 39 deletions.
59 changes: 23 additions & 36 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,68 +20,55 @@ jobs:
- name: Python 3.8 on Bionic Linux
dist: bionic
python: 3.8
- name: Python 3.6 on Focal Linux
dist: focal
python: 3.6
- name: Python 3.7 on Focal Linux
dist: focal
python: 3.7
- name: Python 3.8 on Focal Linux
dist: focal
python: 3.8
env: DEPLOY_AT_THIS_ENV=true

- name: Python 3.7 on macOS 10.13
os: osx
osx_image: xcode10.1
language: shell
before_install:
- brew uninstall --ignore-dependencies python@2
- brew upgrade python
env: HOMEBREW_NO_AUTO_UPDATE=true
- name: Python 3.8 on macOS 10.13
os: osx
osx_image: xcode10.1
language: shell
before_install:
- brew uninstall --ignore-dependencies python@2 python
- brew install python@3.8
env:
- HOMEBREW_NO_AUTO_UPDATE=true
- PATH=/usr/local/opt/python@3.8/bin:$PATH
- name: Python 3.7 on macOS 10.14
os: osx
osx_image: xcode11.3
language: shell
before_install:
- brew uninstall --ignore-dependencies python@3.8
- brew upgrade python
env: HOMEBREW_NO_AUTO_UPDATE=true
- name: Python 3.8 on macOS 10.14
os: osx
osx_image: xcode11.3
language: shell
before_install:
- brew uninstall --ignore-dependencies python
- brew upgrade python@3.8
env:
- HOMEBREW_NO_AUTO_UPDATE=true
- PATH=/usr/local/opt/python@3.8/bin:$PATH
env: PATH=/usr/local/opt/python@3.8/bin:$PATH
- name: Python 3.7 on macOS 10.15
os: osx
osx_image: xcode12.2
language: shell
- name: Python 3.8 on macOS 10.15
os: osx
osx_image: xcode12.2
language: shell
env: PATH=/usr/local/opt/python@3.8/bin:$PATH

- name: Python 3.6 on Windows
os: windows
language: shell
before_install:
- choco install python --version 3.6.8
before_install: choco install python --version 3.6.8
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: Python 3.7 on Windows
os: windows
language: shell
before_install:
- choco install python --version 3.7.9
before_install: choco install python --version 3.7.9
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
- name: Python 3.8 on Windows
os: windows
language: shell
before_install:
- choco install python --version 3.8.6
before_install: choco install python --version 3.8.6
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
- name: Python 3.9 on Windows
os: windows
language: shell
before_install:
- choco install python --version 3.9.0
before_install: choco install python --version 3.9.0
env: PATH=/c/Python39:/c/Python39/Scripts:$PATH

install:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ Note that some methods in the library work with PyTorch 1.3+, but the installati
| :-: | :-: | :-: | :-: | :-: |
| Ubuntu 16.04 | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/1)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/2)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/3)](https://travis-ci.com/yeliudev/nncore) | - |
| Ubuntu 18.04 | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/4)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/5)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/6)](https://travis-ci.com/yeliudev/nncore) | - |
| macOS 10.13 || [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/7)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/8)](https://travis-ci.com/yeliudev/nncore) | - |
| macOS 10.14 || [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/9)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/10)](https://travis-ci.com/yeliudev/nncore) | - |
| Windows | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/11)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/12)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/13)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/14)](https://travis-ci.com/yeliudev/nncore) |
| Ubuntu 20.04 | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/7)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/8)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/9)](https://travis-ci.com/yeliudev/nncore) | - |
| macOS 10.14 || [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/10)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/11)](https://travis-ci.com/yeliudev/nncore) | - |
| macOS 10.15 || [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/12)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/13)](https://travis-ci.com/yeliudev/nncore) | - |
| Windows | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/14)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/15)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/16)](https://travis-ci.com/yeliudev/nncore) | [![Build Status](https://api.catcatserver.xyz/badge/yeliudev/nncore/master/17)](https://travis-ci.com/yeliudev/nncore) |

## Installation

Expand Down

0 comments on commit aeeff9d

Please sign in to comment.