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
Jonathan Wren
8004ef59af
[ #757 ] Take out unneeded quotes around strings in yaml
2020-04-10 11:51:55 -07:00
Jonathan Wren
63f2901bf4
[ #757 ] update CI logic to new format
2020-04-10 11:51:55 -07:00
Jonathan Wren
a704863121
[ #757 ] add explicit os at root per travis config linter
2020-04-10 11:51:55 -07:00
Jonathan Wren
b6bd14fb27
[ #757 ] add stage name to test stage to be explicit
2020-04-10 11:51:55 -07:00
Jonathan Wren
eb4b3ead51
[ #757 ] Add quotes around environment variables to be a little safer
2020-04-10 11:51:55 -07:00
Jonathan Wren
a1392d9c49
[ #757 ] Take out old code (no longer needed)
2020-04-10 11:51:55 -07:00
Jonathan Wren
424e67e23a
[ #757 ] Move deploy to it's own stage on CI so it doesn't run multiple
...
times
2020-04-10 11:51:55 -07:00
MinchinWeb
70c946bc13
[Travis] add testing on Windows and Mac
...
See #739 (Python 3.8), #619 (Windows)
Appease the Travis gods
[Travis] no auto-ruby
[Travis] include a test in not UTC
see #742
[Travis] Add Python to PATH on Windows
[Travis] Windows: try Python 3.7 for cryptography wheels?
[Travis] Windows tests time out
2020-04-10 11:51:55 -07:00
Peter Schmidbauer
3080d501f2
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
2020-04-10 11:51:55 -07:00
Peter Schmidbauer
b7e2e91af3
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.
2020-04-10 11:51:55 -07:00
Jonathan Wren
851a367569
[ #715 ] Make bot that will auto-increment version in code after deploy
2020-04-10 11:51:55 -07:00
Jonathan Wren
f7953fdd61
¯\_(ツ)_/¯
...
[#681 ] Update version handling in source and travis deployments
[#681 ] Appease the poetry gods
[#681 ] Separate local dev from pipeline releases
[#681 ] take out automated pages deployment (for now), since it broke the
site
2020-04-10 11:51:55 -07:00
Manuel Ebert
a61658d453
Add Poetry config
...
Add deployment through poetry to travis
2020-04-10 11:51:55 -07:00
Jonathan Wren
716ad98f97
update python version for ci
2020-04-10 11:51:55 -07:00
Radomír Bosák
d6db0c1549
Remove --use-mirrors switch from travis setup ( #477 )
...
The --use-mirrors pip switch does not work since pip 7.0.0. This caused
travis builds to fail.
This commit removes the --use-mirrors switch.
2017-03-10 09:47:43 -08:00
Manuel Ebert
2615070df0
Hardcoded salt to fix crypto
2015-04-04 17:50:44 +11:00
Manuel Ebert
78eda12287
Official support for python 3.4
2014-05-22 11:56:28 -07:00
Manuel Ebert
a4304f2504
No 3.4 on Travis yet :-(
2014-04-10 16:18:36 -04:00
Manuel Ebert
fc998b3758
Test on Python 3.4
2014-04-10 15:57:35 -04:00