From aa6ae0b9f83f8419dbab689bb32923582ed6c47f Mon Sep 17 00:00:00 2001 From: James Fletcher Date: Mon, 21 Jan 2019 15:21:48 +0000 Subject: [PATCH] Adds test of installation via Pypi test server, and includes __init__.py to fix issue when importing --- .circleci/config.yml | 1 + .gitignore | 3 --- __init__.py | 0 3 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 __init__.py diff --git a/.circleci/config.yml b/.circleci/config.yml index cf2a82a6..936576b6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,6 +37,7 @@ jobs: - run: date +%s > VERSION - run: cat VERSION - run: bazel run //:deploy-pip -- test $PYPI_TEST_SERVER_USERNAME $PYPI_TEST_SERVER_PASSWORD + - run: pip install --index-url https://test.pypi.org/simple/ kgcn deploy-git: machine: true diff --git a/.gitignore b/.gitignore index 430c414f..8670dbf5 100644 --- a/.gitignore +++ b/.gitignore @@ -37,9 +37,6 @@ venv/ # Python cache files __pycache__/ -# Python init files -__init__.py - # Model outputs out/ diff --git a/__init__.py b/__init__.py new file mode 100644 index 00000000..e69de29b