From d6d90852f157b7edad662916c4fb3f584276cf08 Mon Sep 17 00:00:00 2001 From: Alex Tait Date: Wed, 14 Nov 2018 20:52:47 -0700 Subject: [PATCH] attempting travis deployment --- .travis.yml | 24 ++++++++++++++++++++++++ lyipc/__init__.py | 2 +- requirements.txt | 1 + setup.py | 2 +- 4 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .travis.yml create mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..877833b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +# Borrowed from klayoutmattias: https://github.com/lightwave-lab/klayout/blob/pymod/.travis.yml +language: python +python: '3.6' +os: linux + +# klayout builds from source so this saves 15 minutes on subsequent jobs +cache: pip + +install: + - pip install -r requirements.txt + - pip install . +# this is a dummy script +script: + - DOCKER=1 echo no tests to run + +deploy: + provider: pypi + user: atait + password: + secure: alA/VERi2j9a8Chr65e44Cc8uXbNZ0kRfZVXnqh/6iHpwCYN+e4AdQCsCFmbO7nNcxtDl4c16ZP0armKdbhrUlXA+cDyHL4B6API9YGg2VTTvmax7gu5xBD1nlnesziXir8YsGMkAr7wBrwlNuDTeG+l9+2S5dOxho3qz4fsNN8h+YzMBu1kzZfTYFxsTI9Zdrd99mXCmW7nr3rN/1TP3hf5O9H373c+etAiKlPfeC7J1+T4jVBieSuU/tfYaWHYMwcdKsWqK1d0QzA5YAh6HQW5dB6TAPQmrMalU2Ffn3isUPPUvb1UHJfn5i2FtELaNFqaz16gbFJ6i8+U4YxV/QrhhtM+Ho2tB+AyTVSNIepvgEQqGJfI314eOrTuvX3wbvY5NkgB83iV9nMBfsIJpsCK0+ZlPDYP71rkPDmBrAJxm3uQyeIikL/jgakvN1Je5rXnZgdHVSJn/YKSmWw7faXRPR3j0B6IN5kIHDwkGVXOZfXUaTVkwYoOY2KCydq2YzcCBZtGu3M7ojg3zGXfCtpJ2VwRs6Gedq8bzluZYx9OMbz5HioOOBOPxfbHNZzxa28e0gTB3KvnI/bEMZclWuJ0AxAT3A1XV/voCRp+2Th1lQPqlBjQdXKovssd8WsQWIz7r09D28EbMRyp311CisQhbE3HdNYDB3kqDL+sOB8= + distributions: "sdist bdist_wheel" + on: + tags: true + branch: master diff --git a/lyipc/__init__.py b/lyipc/__init__.py index f7efd63..31a5c16 100644 --- a/lyipc/__init__.py +++ b/lyipc/__init__.py @@ -1,4 +1,4 @@ from __future__ import print_function PORT = 11078 -__version__ = '0.2.1' +__version__ = '0.2.2' diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3eab1e0 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +klayout diff --git a/setup.py b/setup.py index 34f0a9e..8f404f6 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ def readme(): setup(name='lyipc', - version='0.2.1', + version='0.2.2', description='Inter-process communication for Klayout', long_description=readme(), author='Alex Tait',