Skip to content
Snippets Groups Projects
Unverified Commit d733e204 authored by Quoc-Tuan Truong's avatar Quoc-Tuan Truong Committed by GitHub
Browse files

Add GH actions and reorganize CI (#418)

parent f8ea20db
No related branches found
No related tags found
No related merge requests found
File moved
File moved
sudo: required
language: python
matrix:
include:
- os: linux
env: DISTRIB="trusty" PYTHON_VERSION="3.6"
- os: linux
env: DISTRIB="trusty" PYTHON_VERSION="3.7"
- os: osx
language: generic
env: DISTRIB="conda" PYTHON_VERSION="3.6"
- os: osx
language: generic
env: DISTRIB="conda" PYTHON_VERSION="3.7"
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
-O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda info -a
- travis_retry conda create -q -n test-environment python=$PYTHON_VERSION
- source activate test-environment
- travis_retry pip install --only-binary=numpy,scipy numpy scipy pytest --quiet
- pip install -e .[tests]
script: python -m pytest --cov=cornac
deploy:
provider: pypi
user: __token__
password:
secure: CEy1La5E7RvlrKIq9vHb+aC+P5IAVyqQXfsLwgQcQTUuERlMDoTV6j461ynKCqvLak+lxM0hsAGZ5bGNdC+EEPN8kV1nY2/fhyMk0Fgz7WgyoNlBVr8B0YfCRRp5IRwTvlkcO1PijbvBxjEeSQx7+3o3mX9kgU6KVtyJA95zV4fzd/HgckBBfU31eo7HoNsG+N8CjEnJR+4ZaftMsnvKkb++QJWN80cQ9AM0nBShwyYhSpas8WZ/HFNcJxdoEZ9hkG2ZFars5lVYPzoIcQnii3Homh0TtOKCB4viG7WuuvUab9BrI79UdEV/VqJRYs5TVqCq5YE03rBKPRs4cN+OP2nQUiq9Yhzgo8XfuaEkwxK51/bvb5J5mGIDFrKs6r91j5xXf4qvipcAujwruVHlNmkmahTqtN7ln+eZElW+xI9W7aJPWXOqSMs7ApdSiWFkpTTMuVQLBAI5FbYfbJRfjVwaV+06aGHpRWhHV3zp7pMQZ8ffJ1c16mJETGAlGBFcLKoHx5Ox7prZAtoL2/jbsTCw8uwvm6Ov1qrsIZFHTPXD/yduIG7PA8R8EbMPUHXRrXEpsIs1VsXr2N2q242i3kLcVXiaflwPZDZx7CZx/kPUB59m7JNIhIIfhlmCUOIzrRqSQOtgTWJfbhap8nxt4tO3PrFonW7Hfn1I+bQwX7Y=
distributions: sdist bdist_wheel
skip_cleanup: true
skip_existing: true
on:
tags: true
......@@ -13,7 +13,7 @@
[Paper](http://www.jmlr.org/papers/volume21/19-805/19-805.pdf) |
[Preferred.AI](https://preferred.ai/)
[![TravisCI](https://img.shields.io/travis/PreferredAI/cornac/master.svg?logo=travis)](https://www.travis-ci.org/PreferredAI/cornac)
[![.github/workflows/python-package.yml](https://github.com/PreferredAI/cornac/actions/workflows/python-package.yml/badge.svg)](https://github.com/PreferredAI/cornac/actions/workflows/python-package.yml)
[![CircleCI](https://img.shields.io/circleci/project/github/PreferredAI/cornac/master.svg?logo=circleci)](https://circleci.com/gh/PreferredAI/cornac)
[![AppVeyor](https://ci.appveyor.com/api/projects/status/0yq4td1xg4kkhdwu?svg=true)](https://ci.appveyor.com/project/tqtg/cornac)
[![Codecov](https://img.shields.io/codecov/c/github/PreferredAI/cornac/master.svg?logo=codecov)](https://codecov.io/gh/PreferredAI/cornac)
......
......@@ -306,10 +306,9 @@ setup(
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment