Commit graph

61 commits

Author SHA1 Message Date
Noam Meltzer
dcb510e62c travis.yml: Removed pypy3.5
Travis keeps failing on weird INTERNAL ERROR messages and it just fails
the build. I don't see any other choice but to disable pypy3.5 tests.
2018-02-18 17:41:45 +02:00
Jannik
c152d6583e Support v3.6 API (#1006)
* Added support for new field `telegram.Message.connected_message`

* Added support for new field `telegram.Message.connected_message`

* Added support for parse_mode in captions

* Added parse_mode parameter for captions in InlineQueryResult*

* Added supports_streaming parameter in telegram.Bot.send_video and telegram.InputMediaVideo
Fixed Docstrings for parse_mode in captions

* pypy3.5 unitests are now running with a new version due internal errors on travis.

closes #1005
2018-02-18 17:11:04 +02:00
Eldinnie
1e22d570a3
Drop 3.3 from support (#930)
* Remove 3.3 from testsuite and setup.py

* add changelog to the docs

[CI skip]
2017-12-08 22:38:23 +01:00
Eldinnie
dd20237f55 Enable appveyor (#823)
* modify tests and appveyor.yml

* modify test_meta

* Add pytest-cov to requirements

* appveyor.yaml adjustment

* another try

* oops

* skipping jobqueue tests on appveyor

appveyor is terrible at precise timings.

* adding reasons to skips

* modify test_official

* coverage trouble

* Make it look good

* appveyor.yml

* codecov flags

* oops

* update appveyor.yml

* shorten decorators

* removed redundant quotes
2017-09-14 17:54:00 +02:00
Jacob Bom
f5b746f1ba Switch to codecov (#819)
* Switch to codecov

We've talked about it in the dev group for a while now, finally doing it

* Update coverage in readme

[ci skip]
2017-09-09 23:38:19 +02:00
Eldinnie
4fe4eea893 only run coverage for relevant test (#818)
* fix test troubles

* another try

* testing travis build?

* trying pytestmark
2017-09-09 23:37:07 +02:00
Jacob Bom
8cda3f7a71 Turn on branch coverage (#790)
* Run pre commit hook tests on all platforms TEMPORARILY

* Use os.system instead of subprocess.call

* Turn on branch coverage

* Let's try this then

* More testing!

* Update test_meta.py
2017-09-01 08:44:45 +02:00
Jacob Bom
5d7c6ad541 Switch to pytest + required fixes to code (#788)
Required fixes:
 - CallbackQuery is now comparable.
 - Message.effective_attachment, Message.photo,
   Message.new_chat_members, Message.new_chat_photo &
   Game.text_entitties semantic fixes - when they are not defined,
   return an empty list.
 - Docstring fix to Update class.
2017-08-12 00:58:41 +03:00
Jacob Bom
564d361cdf Add folding to travis script section (#686) 2017-06-24 11:09:44 +03:00
Jacob Bom
9264264a02 Does this version work?
See travis-ci/travis-ci#6727 for more info too
2017-06-22 19:31:52 +02:00
Jacob Bom
3dabc3146a Update pypy so it hopefully is found in trusty python archive
See also #655
2017-06-22 19:29:34 +02:00
Jacob Bom
51759307d7 Try updating to trusty
Currently about 1min of build time is spent updating libssl... maybe it's newer on trusty?
2017-06-22 18:09:29 +02:00
Jacob Bom
4b16d0937b Wheel not wheels 2017-06-22 16:28:13 +02:00
Jacob Bom
db8ae7602b Cache pip for travis and appveyor
Updating wheels package since caching was introduced in v7 and I'm not sure what version is default on travis.
2017-06-22 15:49:46 +02:00
Noam Meltzer
c0e3453a62 Travis: add test to make sure setup.py doesn't break
Refs #635
2017-06-02 11:51:31 +03:00
Noam Meltzer
bef6651da0 travis: when running nosetests run only the telegram tests (not urllib3) 2017-03-11 23:50:30 +02:00
Rahiel Kasim
924c241680 declare support for Python 3.6 2017-02-05 20:40:16 +01:00
Jacob Bom
de96cc87ea Only build master branch and PRs on travis. Yapf only on py3.5. 2016-10-14 11:24:00 +02:00
Rahiel Kasim
eabfc0b06b set ujson as optional dependency, test CPython builds with ujson 2016-08-26 10:23:17 +02:00
Rahiel Kasim
00bba73673 drop Python 2.6 support (closes #245) (#386)
* drop Python 2.6 support (closes #245)

* fix NullHandler import

* README: explicitly mention Py3 and PyPy compatibility
2016-08-20 22:01:07 +02:00
leandrotoledo
5a0696b181 Replace individual checks to pre-commit run --all-files in Travis 2016-05-22 13:12:05 -03:00
Leandro Toledo
fd7b571e92 Disables yapf for travis tests for pypy3 (ugh!) #259 2016-05-15 00:19:59 -03:00
Leandro Toledo
1b09738191 Disables yapf for travis tests for pypy3.3 #259 2016-05-15 00:07:59 -03:00
Leandro Toledo
836c50965a Disables yapf for travis tests for py2.4 and 3.3 #259 2016-05-14 23:59:45 -03:00
Leandro Toledo
1d9d0fc764 Disables yapf for travis tests for py2.4 and 3.3 #259 2016-05-14 23:53:02 -03:00
Leandro Toledo
e57e6dd645 Add yapf to travis and updates CONTRIBUTING doc #259 2016-05-14 23:46:21 -03:00
Rahiel Kasim
19390b9659 declare support for python 3.5, drop old py 3.2 reference 2016-03-17 22:12:36 +01:00
Noam Meltzer
ca8404adb7 travis.yml: another try to fix nosetests command line 2016-02-24 00:55:30 +02:00
Noam Meltzer
df8e388189 travis.yml: fix nosetests command line 2016-02-23 23:32:52 +02:00
Noam Meltzer
a2632b777a travis.yml: enable nosetests --with-flaky 2016-02-22 02:03:10 +02:00
Jannes Höke
e189e8ad05 add -v to nosetests to debug travis tests 2016-02-21 12:08:40 +01:00
leandrotoledo
099deabf4e Removing if block to install unittest2 when running tests on Py2.6 2016-01-06 12:50:42 -02:00
leandrotoledo
a8240dca1f Adding unittest2, update travis to use requirements-dev.txt 2016-01-06 12:12:01 -02:00
Noam Meltzer
1c8bb21790 fix python 2.6 unitests which with the backport package unittest2 2016-01-04 00:32:17 +02:00
Jannes Höke
007dc5807a move error disables to .travis.yml 2015-12-11 18:52:23 +01:00
Leandro Toledo
c64e577049 Fixes pylint for Py2.6 2015-11-11 12:41:07 -02:00
Leandro Toledo
f08dca0af6 Fixes pylint for Py2.6 2015-11-11 12:39:09 -02:00
Leandro Toledo
8c0bcbf5bb Fixes typo on .travis.yml 2015-11-11 12:28:34 -02:00
Leandro Toledo
596fc2aeda Adding OSX and lint/pep8 tests to Travis 2015-11-11 12:27:07 -02:00
Leandro Toledo
968b19e8b7 Rolling back travis settings 2015-11-11 12:07:43 -02:00
Leandro Toledo
7993328ff7 Enable travis for PRs 2015-11-11 12:04:23 -02:00
Leandro Toledo
06c09b96cf Fixes travis to support future module 2015-11-10 12:04:21 -02:00
leandrotoledo
c6bf13e407 Using nose to test on travis 2015-09-08 15:02:28 -03:00
leandrotoledo
64ca4d7b82 Fix travis, this time for real 2015-09-07 16:53:01 -03:00
leandrotoledo
0cfaaa590c Fix travis 2015-09-07 16:29:39 -03:00
leandrotoledo
48bb8a2413 Fix travis 2015-09-07 16:28:00 -03:00
Leandro Toledo
942706e20f Add PyPy to travis 2015-08-28 13:09:47 -03:00
Leandro Toledo
6132e65dc3 Fix travis 2015-08-28 13:04:36 -03:00
Leandro Toledo
0f924508f7 Fix tests and minor changes 2015-08-28 13:02:02 -03:00
Leandro Toledo
1c0d58fa28 Remove nightly testing (temp) 2015-08-11 15:13:07 -03:00