From 89a151a39c516d4408ffb43f6d2ece15b6318ef7 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 11 Apr 2018 00:04:13 -0400 Subject: [PATCH 1/3] Update lock file --- Pipfile.lock | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index 5f218198..03e7195e 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -177,11 +177,6 @@ "index": "pypi", "version": "==0.9.2" }, - "piker": { - "editable": true, - "git": "git@github.com:pikers/piker.git", - "ref": "a5a7a92d59e386368801982bd8c04bcc48633b40" - }, "pygments": { "hashes": [ "sha256:78f3f434bcc5d6ee09020f92ba487f95ba50f1e3ef83ae96b9d5ffa1bab25c5d", @@ -198,17 +193,10 @@ }, "pytz": { "hashes": [ - "sha256:07edfc3d4d2705a20a6e99d97f0c4b61c800b8232dc1c04d87e8554f130148dd", - "sha256:3a47ff71597f821cd84a162e71593004286e5be07a340fd462f0d33a760782b5", - "sha256:410bcd1d6409026fbaa65d9ed33bf6dd8b1e94a499e32168acfc7b332e4095c0", - "sha256:5bd55c744e6feaa4d599a6cbd8228b4f8f9ba96de2c38d56f08e534b3c9edf0d", - "sha256:61242a9abc626379574a166dc0e96a66cd7c3b27fc10868003fa210be4bff1c9", - "sha256:887ab5e5b32e4d0c86efddd3d055c1f363cbaa583beb8da5e22d2fa2f64d51ef", - "sha256:ba18e6a243b3625513d85239b3e49055a2f0318466e0b8a92b8fb8ca7ccdf55f", - "sha256:ed6509d9af298b7995d69a440e2822288f2eca1681b8cce37673dbb10091e5fe", - "sha256:f93ddcdd6342f94cea379c73cddb5724e0d6d0a1c91c9bdef364dc0368ba4fda" + "sha256:65ae0c8101309c45772196b21b74c46b2e5d11b6275c45d251b150d5da334555", + "sha256:c06425302f2cf668f1bba7a0a03f3c1d34d4ebeef2c72003da308b3947c7f749" ], - "version": "==2018.3" + "version": "==2018.4" }, "six": { "hashes": [ @@ -441,17 +429,10 @@ }, "pytz": { "hashes": [ - "sha256:07edfc3d4d2705a20a6e99d97f0c4b61c800b8232dc1c04d87e8554f130148dd", - "sha256:3a47ff71597f821cd84a162e71593004286e5be07a340fd462f0d33a760782b5", - "sha256:410bcd1d6409026fbaa65d9ed33bf6dd8b1e94a499e32168acfc7b332e4095c0", - "sha256:5bd55c744e6feaa4d599a6cbd8228b4f8f9ba96de2c38d56f08e534b3c9edf0d", - "sha256:61242a9abc626379574a166dc0e96a66cd7c3b27fc10868003fa210be4bff1c9", - "sha256:887ab5e5b32e4d0c86efddd3d055c1f363cbaa583beb8da5e22d2fa2f64d51ef", - "sha256:ba18e6a243b3625513d85239b3e49055a2f0318466e0b8a92b8fb8ca7ccdf55f", - "sha256:ed6509d9af298b7995d69a440e2822288f2eca1681b8cce37673dbb10091e5fe", - "sha256:f93ddcdd6342f94cea379c73cddb5724e0d6d0a1c91c9bdef364dc0368ba4fda" + "sha256:65ae0c8101309c45772196b21b74c46b2e5d11b6275c45d251b150d5da334555", + "sha256:c06425302f2cf668f1bba7a0a03f3c1d34d4ebeef2c72003da308b3947c7f749" ], - "version": "==2018.3" + "version": "==2018.4" }, "six": { "hashes": [ From a414cbb0c4c7ab8f295c607bdef6645873d287b0 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 10 Apr 2018 22:46:24 -0400 Subject: [PATCH 2/3] Initial travisCI file --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..b43d37a7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: python +python: + - '3.6' + # setup.py reading README breaks this? + # - pypy + # no pandas support + # - nightly + +before_install: + - sudo apt-get -qq update + # deps to build kivy from sources for use with trio + - sudo apt-get install -y build-essential libav-tools libgles2-mesa-dev libgles2-mesa-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev zlib1g-dev + +install: + - pip install pipenv + - cd $TRAVIS_BUILD_DIR + - pipenv install --dev -e . + +script: + - pipenv run pytest tests/ From 1c7db834b74e93bfa161cb11e4aca04330866a5c Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 11 Apr 2018 00:10:45 -0400 Subject: [PATCH 3/3] Add CI badge --- README.rst | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/README.rst b/README.rst index 2989bf24..10d45005 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,10 @@ piker ----- Anti-fragile trading gear for hackers, scientists, stay-at-home quants and underpants warriors. +|pypi| |travis| |versions| |license| |docs| + +.. |travis| image:: https://img.shields.io/travis/pikers/piker/master.svg + :target: https://travis-ci.org/pikers/piker Install ******* @@ -39,29 +43,6 @@ For those running pop-culture distros that don't yet ship ``python3.6`` you'll need to install it as well as `kivy source build`_ dependencies since currently there's reliance on an async development branch. -For `ubuntu` this looks like:: - - sudo add-apt-repository ppa:jonathonf/python-3.6 - sudo apt-get update - sudo apt-get install -y \ - build-essential \ - python3.6 \ - python3.6-dev \ - ffmpeg \ - libsdl2-dev \ - libsdl2-image-dev \ - libsdl2-mixer-dev \ - libsdl2-ttf-dev \ - libportmidi-dev \ - libswscale-dev \ - libavformat-dev \ - libavcodec-dev \ - zlib1g-dev - - # then to create your virtualenv with py3.6 - virtualenv -p $(which python3.6) env - - .. _kivy source build: https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment