Commit graph

82 commits

Author SHA1 Message Date
MinchinWeb
26df9c7a84 cleanup as per code review 2020-04-11 13:29:04 -06:00
MinchinWeb
330acc2d45 [Travis] remove Python 3.9 as poetry doesn't support it
See https://blog.travis-ci.com/2019-10-24-build-config-validation
c.f. https://travis-ci.com/github/jrnl-org/jrnl/jobs/316271932
2020-04-07 11:11:57 -06:00
MinchinWeb
601c5513e0 [Travis] try better allowed failure matrix 2020-04-07 11:06:28 -06:00
MinchinWeb
2ccf1de80d [Travis] Allow pre-release version of Python on Windows 2020-04-07 11:01:42 -06:00
MinchinWeb
0575def628 [Travis] add Build Config Validations
https://blog.travis-ci.com/2019-10-24-build-config-validation
2020-04-07 10:51:25 -06:00
MinchinWeb
fbd5f090e5 [Travis] update Windows Python versions
Updates Python 3.7.5 to 3.7.7 and 3.8.0 to 3.8.2.
Also add the alpha 5 build of Python 3.9 as an allowable failure.
2020-04-07 10:50:09 -06: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