Skip to content

Commit

Permalink
Merge pull request #122 from stephenhky/circleci
Browse files Browse the repository at this point in the history
CircleCI
  • Loading branch information
stephenhky authored Apr 10, 2021
2 parents 7e3d6c9 + 851992b commit 5b5c4d8
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 25 deletions.
31 changes: 9 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,17 @@ shared: &shared
command: |
sudo apt-get update
sudo apt-get install libc6
conda install --yes libgcc
sudo apt-get install python-dev
sudo apt-get install python3-dev
- run:
name: Installing Miniconda
name: Installing Miniconda and Packages
command: |
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
chmod +x miniconda.sh
./miniconda.sh -b
export PATH=/home/travis/miniconda3/bin:$PATH;
conda update --yes conda
- run:
name: Installing Packages
command: |
conda create --yes -n shorttext-test python=$TRAVIS_PYTHON_VERSION
source activate shorttext-test
pip install Cython
pip install -U numpy
pip install -U scipy
pip install -U tensorflow>=2.0.0
pip install google-compute-engine
pip install -U .
pip install --upgrade --user Cython
pip install --upgrade --user numpy
pip install --upgrade --user scipy
pip install --upgrade --user tensorflow>=2.0.0
pip install --upgrade --user google-compute-engine
pip install --upgrade --user .
- run:
name: Run Unit Tests
Expand All @@ -48,12 +35,12 @@ jobs:
py37:
<<: *shared
docker:
-image: circleci/python:3.7
- image: circleci/python:3.7

py38:
<<: *shared
docker:
-image: circleci/python:3.8
- image: circleci/python:3.8


workflows:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Short Text Mining in Python

[![Build Status](https://travis-ci.com/stephenhky/PyShortTextCategorization.svg?branch=master)](https://travis-ci.com/stephenhky/PyShortTextCategorization)
[![CircleCI](https://circleci.com/gh/stephenhky/PyShortTextCategorization.svg?style=svg)](https://circleci.com/gh/stephenhky/PyShortTextCategorization.svg)
[![GitHub release](https://img.shields.io/github/release/stephenhky/PyShortTextCategorization.svg?maxAge=3600)](https://github.com/stephenhky/PyShortTextCategorization/releases)
[![Documentation Status](https://readthedocs.org/projects/pyqentangle/badge/?version=latest)](https://pyqentangle.readthedocs.io/en/latest/?badge=latest)
[![Updates](https://pyup.io/repos/github/stephenhky/PyShortTextCategorization/shield.svg)](https://pyup.io/repos/github/stephenhky/PyShortTextCategorization/)
Expand Down Expand Up @@ -88,6 +88,7 @@ If you would like to contribute, feel free to submit the pull requests. You can

## News

* 04/10/2021: `shorttext` 1.5.1 released.
* 04/09/2021: `shorttext` 1.5.0 released.
* 02/11/2021: `shorttext` 1.4.8 released.
* 01/11/2021: `shorttext` 1.4.7 released.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# The short X.Y version.
version = u'1.5'
# The full version, including alpha/beta/rc tags.
release = u'1.5.0'
release = u'1.5.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 6 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
News
====

* 04/10/2021: `shorttext` 1.5.1 released.
* 04/09/2021: `shorttext` 1.5.0 released.
* 02/11/2021: `shorttext` 1.4.8 released.
* 01/11/2021: `shorttext` 1.4.7 released.
Expand Down Expand Up @@ -69,6 +70,11 @@ News
What's New
----------

Release 1.5.1 (April 10, 2021)
------------------------------

* Replaced TravisCI with CircleCI in the continuous integration pipeline.

Release 1.5.0 (April 09, 2021)
------------------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_requirements():


setup(name='shorttext',
version='1.5.0',
version='1.5.1',
description="Short Text Mining",
long_description=package_description(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 5b5c4d8

Please sign in to comment.