Commit graph

82 commits

Author SHA1 Message Date
Micah Jerome Ellison
450db4febe Remove Python3.6 references and check for Python directory in root directory 2020-08-15 10:54:48 -07:00
Micah Jerome Ellison
26f9da8a10 Fiddling with Windows python references 2020-08-08 14:15:33 -07:00
Micah Jerome Ellison
0b1785d287 Confirm Python version in Windows and attempt to get pip a different way 2020-08-08 14:02:53 -07:00
Micah Jerome Ellison
468312c098 Use bash-friendly paths in Windows and check to see exactly what the Python 3.9 executable is 2020-08-08 13:44:36 -07:00
Micah Jerome Ellison
7933a52618 Ensure MacOS pyenv is up to date and attempt to reference Windows python3 directly 2020-08-08 13:37:21 -07:00
Micah Jerome Ellison
d62c6a1248 Add refreshenv to get python3 path included in WIndows 2020-08-08 13:26:55 -07:00
Micah Jerome Ellison
576d8c1f41 Properly populate before_install step with Mac and Windows Python 3.9, and remove extraneous unused python key 2020-08-08 13:12:20 -07:00
Micah Jerome Ellison
b025fa6af4 Install toml module to make it possible to run version-changing script before install 2020-08-08 12:59:25 -07:00
Micah Jerome Ellison
040007f554 Format changes and changing before_install to script for 3.9 builds 2020-08-08 12:46:23 -07:00
Micah Jerome Ellison
9fb47e57ff Use platform-independent Python script to allow all Python versions for 3.9 builds 2020-08-08 12:37:54 -07:00
Micah Jerome Ellison
baaf2bef18 Fix allow_failures to allow all three Python 3.9 builds to fail 2020-08-08 11:04:19 -07:00
Micah Jerome Ellison
6343f28ec1 Fix allow_failures (3.9-dev, not 3.9) and fix Windows find-and-replace command to allow 3.9 2020-08-02 17:21:23 -07:00
Micah Jerome Ellison
7807ced0b8 Dynamically replace Python max version for Python 3.9 beta builds 2020-08-02 16:58:45 -07:00
Micah Jerome Ellison
d936cf2785 First stab at adding Python 3.9 dev Travis builds 2020-08-02 16:33:49 -07:00
Jonathan Wren
c64a17e97c disable python 3.6 tests 2020-08-01 15:54:13 -07:00
micahellison
64a31e301d
Resolve Travis/Windows/pip issues with upgrade to cryptography 3.0 (#1016)
* add missing dependency
* update cryptography dependency
* Installing poetry with pipx instead of pip
* Fix bad pipx install command
* Remove pipx commands and attempt to solve issue through poetry configuration
* Fix pip install command to include --upgrade as before

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2020-08-01 14:58:45 -07:00
Micah Jerome Ellison
8d702fee9d Add unit testing via pytest (#987)
* Add pytest to project

Includes a couple sample tests, a note in CONTRIBUTING, and inclusion in the makefile

* Include pytest in Travis build
2020-06-20 14:30:15 -07:00
Jonathan Wren
a15e6f7476 update travis config to fix deployment 2020-05-09 15:01:44 -07:00
Jonathan Wren
e5f59d7179 Use gitlab to trigger releases in pipeline (#947) 2020-05-09 14:12:14 -07:00
MinchinWeb
587de366fb Update Windows Python versions (#910)
* [Travis] update Windows Python versions
* Update Python versions to be uniform across the board

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2020-04-18 12:35:46 -07:00
Jonathan Wren
a03445bb84 add pyflakes to dev deps, run pyflakes in CI 2020-04-18 12:35:46 -07:00
Jonathan Wren
d3d3ef4c3e Update Poetry requirements for testing latest Python version (#898)
Poetry errors out if we try to run a different version of Python that
what is specified in the config file. We want to run tests against the
latest Python version so we can see problems before they happen. This
fix updates the config file so Poetry will allow us to test. Nothing is
committed after the update.
2020-04-10 16:18:34 -07:00
Jonathan Wren
87d0c84757 Hotfix for keeping the version in sync in code (testing to come later) (#895)
hotfix for keeping the version in sync in code (testing to come later)
2020-04-10 11:51:56 -07:00
Jonathan Wren
aae55aa193 Update Travis caching to speed up builds (#871) 2020-04-10 11:51:56 -07:00
Jonathan Wren
2a4f5ca5c9 fix up remnants of merge conflicts 2020-04-10 11:51:56 -07:00
Jonathan Wren
302d353c4d Fix up tests and related issues
Upgrade poetry if already installed
Get rid of test function that was causing windows problems
2020-04-10 11:51:56 -07:00
Jonathan Wren
db6b0aa56c Don't re-run tests on deployment (#839)
By the time we get to the deployment step, we've already run these tests
dozens of times. We don't need to run them yet again at deploy time.
2020-04-10 11:51:56 -07:00
Jonathan Wren
bafe7a19ae get rid of debug code 2020-04-10 11:51:56 -07:00
Micah Jerome Ellison
3e1061df5f Fix crashing unicode Travis tests on Windows and fail build if Windows tests fail (#836) 2020-04-10 11:51:56 -07:00
MinchinWeb
cec0beff9a Listing all entries in DayOne Classic journal throws IndexError (#786)
* Reproduce bug in #780
🎵 I have no body, no body to love me... 🎵
The bug is cause by a DayOne entry that has to entry body.

* Deal with empty bodies
Close #780.

* [Travis-CI] add "tree" command to debug missing files
* Fix file location
I have no idea why, but it ran locally fine without issue. Travis is more particular...
2020-04-10 11:51:56 -07:00
Jonathan Wren
e048d1bdf1 unpin poetry version in requirments 2020-04-10 11:51:56 -07:00
Micah Jerome Ellison
738e4459ba Prevent Travis from turning LF to CRLF in Windows 2020-04-10 11:51:56 -07:00
Jonathan Wren
4d4321738e small fixes for travis pipeline 2020-04-10 11:51:56 -07:00
Jonathan Wren
84882c1d98 update deploy stage condition 2020-04-10 11:51:56 -07:00
Jonathan Wren
e6a9a0e3cd add script to generate changelog 2020-04-10 11:51:56 -07:00
Jonathan Wren
f92c789efe fix conditional for deploy step 2020-04-10 11:51:56 -07:00
Jonathan Wren
fcd8a11ae8 use api token instead of username and pw for pypi 2020-04-10 11:51:56 -07:00
Jonathan Wren
968ae6ca98 Change stage so travis doesn't get confused about allowed failures 2020-04-10 11:51:56 -07:00
Jonathan Wren
5c0a2a236a clarify build steps 2020-04-10 11:51:56 -07:00
MinchinWeb
04f6154c93 Apply black formatter to code
[Travis] add a linting stage (via `black`)
[Travis] update as per code review
Remove "Lint" as separate stage; have `black` check the output rather
than run the re-formmater
2020-04-10 11:51:56 -07:00
Manuel Ebert
c8d59727eb Explicitly write Version to file
Delay import of asteval
Use __version__.py instead of VERSION.txt
2020-04-10 11:51:56 -07:00
Jonathan Wren
abc6b53898 [#739] Update tests so that 3.8 is not an allowed failure 2020-04-10 11:51:56 -07:00
Jonathan Wren
eb16fe1130 [#757] update mac python version test to match others 2020-04-10 11:51:56 -07:00
Jonathan Wren
f86fb18d5d [#757] Add fast finish option to travis 2020-04-10 11:51:56 -07:00
Jonathan Wren
d8967ae9d3 [#757] update caching for ci 2020-04-10 11:51:56 -07:00
Jonathan Wren
3c6b8058ff [#757] Be explicit about python versio so travis doesn't get confused 2020-04-10 11:51:56 -07:00
Jonathan Wren
b349f5c477 [#757] Group tests by python version 2020-04-10 11:51:56 -07:00
Jonathan Wren
52934a78e4 [#757] Add more Mac tests for each Python version 2020-04-10 11:51:56 -07:00
Jonathan Wren
aa49dc3eb5 [#757] Add more testing for Windows across multiple Python versions 2020-04-10 11:51:56 -07:00
Jonathan Wren
1b9748e5ce [#757] Clean up travis yaml file for readability 2020-04-10 11:51:55 -07:00