Commit graph

77 commits

Author SHA1 Message Date
Jonathan Wren
4e42536aff add pyflakes to dev deps, run pyflakes in CI 2020-04-11 14:54:23 -07:00
Jonathan Wren
8284c90ba3
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-03-31 18:16:45 -07:00
Jonathan Wren
02d534bc31
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-03-28 13:27:16 -07:00
Jonathan Wren
dc45b52eeb Update Travis caching to speed up builds (#871) 2020-03-22 12:02:17 -07:00
Jonathan Wren
c769b9ef7f
upgrade poetry if already installed 2020-02-29 15:29:30 -08:00
Jonathan Wren
7f1f878a08
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-02-08 18:33:28 -08:00
Jonathan Wren
28c0d84845
get rid of debug code 2020-02-08 18:20:06 -08:00
micahellison
40b330e5ee Fix crashing unicode Travis tests on Windows and fail build if Windows tests fail (#836) 2020-02-08 13:51:14 -08:00
MinchinWeb
e5d7845f18 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-02-08 13:14:33 -08:00
Jonathan Wren
fa971b0f2f
Merge branch 'develop' into master 2020-02-08 11:33:09 -08:00
Micah Ellison
9f615191b4 Prevent Travis from turning LF to CRLF in Windows 2020-01-25 15:39:05 -08:00
Jonathan Wren
fd591b82a3
unpin poetry version in requirments 2020-01-14 23:58:52 -08:00
Jonathan Wren
af970cd47f
small fixes for travis pipeline 2020-01-14 21:48:42 -08:00
Jonathan Wren
4977924977
update deploy stage condition 2020-01-14 21:36:58 -08:00
Jonathan Wren
778a37cd5e
add script to generate changelog 2020-01-14 20:06:14 -08:00
Jonathan Wren
7fba6c77a4
fix conditional for deploy step 2020-01-14 19:44:26 -08:00
Jonathan Wren
f564c8ca34
use api token instead of username and pw for pypi 2020-01-13 20:45:56 -08:00
Jonathan Wren
676cac7e80
Change stage so travis doesn't get confused about allowed failures 2020-01-04 12:30:50 -08:00
Jonathan Wren
e2ce40424e
clarify build steps 2020-01-04 12:08:38 -08:00
MinchinWeb
c8172efdcc [Travis] black -- show a diff on things that need to be reformatted 2019-12-14 14:00:28 -07:00
MinchinWeb
e7cbbecaef [Black] sync to develop branch and apply black
# Conflicts:
#	jrnl/EncryptedJournal.py
#	jrnl/Journal.py
#	jrnl/__init__.py
#	jrnl/cli.py
#	jrnl/install.py
2019-12-14 13:48:17 -07:00
MinchinWeb
9d183229df [Travis] update as per code review
Remove "Lint" as separate stage; have `black` check the output rather than run the re-formmater
2019-12-12 10:41:08 -07:00
Jonathan Wren
6a8f3edec1
Merge branch 'develop' into maebert-fast-import 2019-12-10 20:47:39 -08:00
MinchinWeb
c1defc7db1 [Travis] add a linting stage (via black) 2019-12-07 12:45:28 -07:00
Manuel Ebert
45384f3c8f Use __version__.py instead of VERSION.txt 2019-12-01 19:41:16 -08:00
Jonathan Wren
3717c26559 [#739] Update tests so that 3.8 is not an allowed failure 2019-11-30 13:36:50 -08:00
Jonathan Wren
a5b5f4732a [#757] update mac python version test to match others 2019-11-29 22:04:02 -08:00
Jonathan Wren
e424e32a37 [#757] Add fast finish option to travis 2019-11-29 22:03:40 -08:00
Jonathan Wren
eb6c5200de [#757] update caching for ci 2019-11-29 22:02:57 -08:00
Jonathan Wren
174632f8e3 [#757] Be explicit about python versio so travis doesn't get confused 2019-11-29 16:23:52 -08:00
Jonathan Wren
f16e7860e0 [#757] Group tests by python version 2019-11-29 16:21:03 -08:00
Jonathan Wren
cbd0014a52 [#757] Add more Mac tests for each Python version 2019-11-29 15:38:32 -08:00
Jonathan Wren
7b27e6d0c0 [#757] Add more testing for Windows across multiple Python versions 2019-11-29 15:07:44 -08:00
Jonathan Wren
a01fb67c87 [#757] Clean up travis yaml file for readability 2019-11-29 15:06:13 -08:00
Jonathan Wren
c6eab97f64 [#757] Take out unneeded quotes around strings in yaml 2019-11-29 15:05:15 -08:00
Jonathan Wren
427f1321b7 [#757] update CI logic to new format 2019-11-29 12:11:17 -08:00
Jonathan Wren
7f83a1ef26 [#757] add explicit os at root per travis config linter 2019-11-29 11:46:29 -08:00
Jonathan Wren
f64f742839 [#757] add stage name to test stage to be explicit 2019-11-29 11:46:29 -08:00
Jonathan Wren
7fe1281c38 [#757] Add quotes around environment variables to be a little safer 2019-11-29 11:46:29 -08:00
Jonathan Wren
44531bb47f [#757] Take out old code (no longer needed) 2019-11-29 11:46:29 -08:00
Jonathan Wren
19fb2207dd [#757] Move deploy to it's own stage on CI so it doesn't run multiple
times
2019-11-29 11:46:29 -08:00
MinchinWeb
ae505dcbbd [Travis] Windows tests time out 2019-11-28 09:14:50 -07:00
MinchinWeb
34f7d9830f [Travis] Windows: try Python 3.7 for cryptography wheels? 2019-11-28 08:50:06 -07:00
MinchinWeb
9cad7ddb51 [Travis] Add Python to PATH on Windows 2019-11-28 08:39:22 -07:00
MinchinWeb
cdad3230f0 [Travis] include a test in not UTC
see #742
2019-11-28 08:35:53 -07:00
MinchinWeb
3c2ced0989 [Travis] no auto-ruby 2019-11-28 07:59:06 -07:00
MinchinWeb
b0f07eeb59 Appease the Travis gods 2019-11-28 07:49:33 -07:00
MinchinWeb
cab23ddc97 [Travis] add testing on Windows and Mac
See #739 (Python 3.8), #619 (Windows)
2019-11-28 07:43:05 -07:00
Peter Schmidbauer
b5c05cd846 Clarify currently supported Python versions
The Python 3.8 build currently fails on travis, this should be dealt with in a future PR along with updating the travis config and pyproject.toml
2019-11-12 18:50:51 +01:00
Peter Schmidbauer
f30e11d46f Prepare travis for upcoming poetry 1.0 release
The poetry version command will change in poetry 1.0 (see sdispater/poetry#1191). Without any argument, it won't bump the version anymore but instead just print the current version. This will break the current travis before_install. Let's pin poetry to ~0.12.17 for now and change it once poetry v1.0 releases.
2019-11-11 19:04:30 -08:00