Merge pull request #34 from pikers/travis_ci

Travis CI
kivy_mainline_and_py3.8
goodboy 2018-04-11 14:27:16 -04:00 committed by GitHub
commit 07c95e4f3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 48 deletions

20
.travis.yml 100644
View File

@ -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/

31
Pipfile.lock generated
View File

@ -177,11 +177,6 @@
"index": "pypi", "index": "pypi",
"version": "==0.9.2" "version": "==0.9.2"
}, },
"piker": {
"editable": true,
"git": "git@github.com:pikers/piker.git",
"ref": "a5a7a92d59e386368801982bd8c04bcc48633b40"
},
"pygments": { "pygments": {
"hashes": [ "hashes": [
"sha256:78f3f434bcc5d6ee09020f92ba487f95ba50f1e3ef83ae96b9d5ffa1bab25c5d", "sha256:78f3f434bcc5d6ee09020f92ba487f95ba50f1e3ef83ae96b9d5ffa1bab25c5d",
@ -198,17 +193,10 @@
}, },
"pytz": { "pytz": {
"hashes": [ "hashes": [
"sha256:07edfc3d4d2705a20a6e99d97f0c4b61c800b8232dc1c04d87e8554f130148dd", "sha256:65ae0c8101309c45772196b21b74c46b2e5d11b6275c45d251b150d5da334555",
"sha256:3a47ff71597f821cd84a162e71593004286e5be07a340fd462f0d33a760782b5", "sha256:c06425302f2cf668f1bba7a0a03f3c1d34d4ebeef2c72003da308b3947c7f749"
"sha256:410bcd1d6409026fbaa65d9ed33bf6dd8b1e94a499e32168acfc7b332e4095c0",
"sha256:5bd55c744e6feaa4d599a6cbd8228b4f8f9ba96de2c38d56f08e534b3c9edf0d",
"sha256:61242a9abc626379574a166dc0e96a66cd7c3b27fc10868003fa210be4bff1c9",
"sha256:887ab5e5b32e4d0c86efddd3d055c1f363cbaa583beb8da5e22d2fa2f64d51ef",
"sha256:ba18e6a243b3625513d85239b3e49055a2f0318466e0b8a92b8fb8ca7ccdf55f",
"sha256:ed6509d9af298b7995d69a440e2822288f2eca1681b8cce37673dbb10091e5fe",
"sha256:f93ddcdd6342f94cea379c73cddb5724e0d6d0a1c91c9bdef364dc0368ba4fda"
], ],
"version": "==2018.3" "version": "==2018.4"
}, },
"six": { "six": {
"hashes": [ "hashes": [
@ -441,17 +429,10 @@
}, },
"pytz": { "pytz": {
"hashes": [ "hashes": [
"sha256:07edfc3d4d2705a20a6e99d97f0c4b61c800b8232dc1c04d87e8554f130148dd", "sha256:65ae0c8101309c45772196b21b74c46b2e5d11b6275c45d251b150d5da334555",
"sha256:3a47ff71597f821cd84a162e71593004286e5be07a340fd462f0d33a760782b5", "sha256:c06425302f2cf668f1bba7a0a03f3c1d34d4ebeef2c72003da308b3947c7f749"
"sha256:410bcd1d6409026fbaa65d9ed33bf6dd8b1e94a499e32168acfc7b332e4095c0",
"sha256:5bd55c744e6feaa4d599a6cbd8228b4f8f9ba96de2c38d56f08e534b3c9edf0d",
"sha256:61242a9abc626379574a166dc0e96a66cd7c3b27fc10868003fa210be4bff1c9",
"sha256:887ab5e5b32e4d0c86efddd3d055c1f363cbaa583beb8da5e22d2fa2f64d51ef",
"sha256:ba18e6a243b3625513d85239b3e49055a2f0318466e0b8a92b8fb8ca7ccdf55f",
"sha256:ed6509d9af298b7995d69a440e2822288f2eca1681b8cce37673dbb10091e5fe",
"sha256:f93ddcdd6342f94cea379c73cddb5724e0d6d0a1c91c9bdef364dc0368ba4fda"
], ],
"version": "==2018.3" "version": "==2018.4"
}, },
"six": { "six": {
"hashes": [ "hashes": [

View File

@ -2,6 +2,10 @@ piker
----- -----
Anti-fragile trading gear for hackers, scientists, stay-at-home quants and underpants warriors. 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 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 you'll need to install it as well as `kivy source build`_ dependencies
since currently there's reliance on an async development branch. 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: .. _kivy source build:
https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment