Igor Chubin
2a728c9dd0
Update tests/results/15 (python/:learn)
2020-11-12 20:18:53 +00:00
Igor Chubin
b45e9555e4
Merge pull request #251 from chubin/chubin.log-dir-creation
...
Create logdir for fetch
2020-11-12 12:56:04 +01:00
Igor Chubin
d8a7732806
Update lib/fetch.py
...
Co-authored-by: Anatoli Babenia <anatoli@rainforce.org >
2020-11-12 12:55:11 +01:00
Igor Chubin
72d2370843
Create logdir for fetch
2020-11-12 12:42:42 +01:00
Igor Chubin
ee0f4c494b
Merge pull request #249 from abitrolly/master
...
Test "production" container on Travis
2020-11-12 11:12:07 +01:00
Anatoli Babenia
067e0de4d7
Run GitHub tests on Ubuntu 20.04
2020-11-12 13:08:04 +03:00
Anatoli Babenia
48c7fc60fa
Move all server init into before_install: section
2020-11-12 13:06:20 +03:00
Anatoli Babenia
80014fa037
Test "production" container on Travis
2020-11-12 12:48:02 +03:00
Igor Chubin
0df9db4221
Merge pull request #245 from abitrolly/debugflask
...
Use `flask run` server for debugging
2020-11-05 20:09:33 +01:00
Igor Chubin
07e9a9042f
Merge pull request #246 from abitrolly/patch-1
...
Fix test timeouts on Travis
2020-11-05 20:05:26 +01:00
Anatoli Babenia
caa16b66b4
Use wget instead of curl to wait for container
...
Because even Ubuntu 20.04 version of `curl` is outdated
2020-11-04 19:33:11 +03:00
Anatoli Babenia
06a91fd953
Try newer Ubuntu with newer curl
2020-11-04 16:12:59 +03:00
Anatoli Babenia
8949a8eac8
Use curl retry flags for waiting for service
...
`--connect-timeout` didn't work, because Docker allows it, but breaks,
because nothing is listening on the other side, giving this error.
$ curl --connect-timeout 10 http://localhost:8002
curl: (56) Recv failure: Connection reset by peer
The command "curl --connect-timeout 10 http://localhost:8002 " exited with 56.
https://travis-ci.org/github/chubin/cheat.sh/builds/741348053#L401
`--retry-all` makes `curl` retry on all errors, including connection resets.
2020-11-04 15:14:11 +03:00
Anatoli Babenia
267c7d994e
.travis.yml Use curl with connection timeout
...
This should fix current build failure with timeout
https://travis-ci.org/github/chubin/cheat.sh/builds/741308362#L402
2020-11-04 12:51:01 +03:00
Anatoli Babenia
8caed28b53
Use flask run server for debugging
...
Because at least live reloading doesn't seem to work with `gevent`
2020-11-04 07:48:54 +03:00
Igor Chubin
2820fff4cb
Merge pull request #241 from alexfertel/dev
...
Fixes a typo in the README
2020-11-01 10:09:54 +01:00
Alexander Gonzalez
764255e41c
Fix typo
2020-10-30 18:25:54 -04:00
Igor Chubin
482b9190cf
Merge pull request #232 from WANDEX/fix_hardcoded_path
...
fix: replaced hardcoded paths '$HOME/.cht.sh' on $CHTSH_HOME, to prop…
2020-10-12 14:09:28 +02:00
Igor Chubin
18fa96606b
Merge pull request #238 from grayed/tests
...
Tests tweaks
2020-10-12 13:46:01 +02:00
Vadim Zhukov
620f81d361
Minor simplification while here.
2020-10-08 00:59:34 +03:00
Vadim Zhukov
91c592bb55
Initial version of CI
2020-10-08 00:42:35 +03:00
Vadim Zhukov
bab555af23
drop --color=always, it doesn't exist outside GNU world
2020-10-05 22:09:33 +03:00
Igor Chubin
8d60f51d29
Merge pull request #235 from 0xflotus/patch-1
...
fixed small error
2020-09-23 09:19:30 +02:00
0xflotus
fd77ea924a
fixed small error
2020-09-22 22:27:16 +02:00
Igor Chubin
1056ed815e
Merge pull request #234 from mmqmzk/patch-1
...
Fix run tests fail.
2020-09-16 21:41:39 +02:00
Kun Zhou
f8314ee568
Fix typo
...
Fix typo changed in upstream.
2020-09-07 17:25:25 +08:00
WANDEX
d727deeae0
fix: replaced hardcoded paths '$HOME/.cht.sh' on $CHTSH_HOME, to properly handle CHTSH environment variable, which override default CHTSH_HOME path
2020-08-15 11:31:47 +03:00
Igor Chubin
9f99bec1f0
fix: run-tests.sh: fixed cht.sh.txt path discovery
2020-08-06 08:02:27 +02:00
Igor Chubin
ce8484fc2d
fix: show integer weights for "Unknown topic" suggestions
2020-08-06 07:55:39 +02:00
Igor Chubin
1c3bec6a7f
updated tests
2020-08-06 07:28:08 +02:00
Igor Chubin
43e06193c3
updated expected test results
2020-08-06 07:04:53 +02:00
Igor Chubin
3b50095833
tests/run-tests.sh: minor fix
2020-08-06 06:53:16 +02:00
Igor Chubin
b45af37fba
Merge branch 'master' of https://github.com/chubin/cheat.sh
2020-08-06 04:35:22 +00:00
Igor Chubin
318541c8ae
regression fix
2020-08-06 04:35:14 +00:00
Igor Chubin
cd905f76e1
Merge pull request #224 from abitrolly/run-tests
...
Run tests on Travis CI
2020-08-06 06:31:20 +02:00
Igor Chubin
7578ab7bb0
minifix
2020-08-06 06:30:54 +02:00
Igor Chubin
18e851ce80
Merge branch 'master' into run-tests
2020-08-06 06:27:05 +02:00
Igor Chubin
dfc7612ac9
Merge branch 'master' of https://github.com/chubin/cheat.sh
2020-08-05 09:47:29 +02:00
Igor Chubin
80ded6938c
fixed search ( #147 , #225 )
2020-08-05 09:46:36 +02:00
Igor Chubin
82d1db3a1f
cht.sh.txt: fixed bug with custom installdir location; semantic versioning; ver 0.0.1
2020-08-05 09:40:56 +02:00
Igor Chubin
78af6ced14
run-tests.sh: CHEATSH_UPDATE_TESTS_RESULTS=YES support
2020-08-05 09:38:00 +02:00
Igor Chubin
4b701fba3d
updated test results
2020-08-05 09:37:11 +02:00
Anatoli Babenia
b74707a109
Redis doesn't need to be Strict
...
https://github.com/andymccurdy/redis-py#client-classes-redis-and-strictredis
2020-08-01 06:10:03 +03:00
Anatoli Babenia
ca88810936
run-tests.sh Quotes are not needed in default param
2020-08-01 06:06:49 +03:00
Anatoli Babenia
36a7cd3fc5
Set proper config names and update docker status in README.md
...
The proper config name for Redis host is CHEATSH_CACHE_REDIS_HOST
and for disabling cache the var is CHEATSH_CACHE_TYPE.
2020-08-01 00:54:09 +03:00
Anatoli Babenia
91320d921d
Set Redis host using cheat.sh config framework
...
https://github.com/chubin/cheat.sh/blob/f5d5fae71218e771e84b896600b2504c0d8814ec/lib/config.py
2020-08-01 00:41:05 +03:00
Anatoli Babenia
ee273e2d51
Now fixing connection to Redis on Travis Docker
...
Default `localhost:6379` doesn't work there. Trying to set
REDIS_HOST advertised in `run-tests.sh`
2020-07-31 19:29:43 +03:00
Anatoli Babenia
acd07d27c1
Override files needs a version too
2020-07-31 16:56:30 +03:00
Anatoli Babenia
198a2c41c9
Add --debug option to chtsh container the docker-compose way
2020-07-31 16:43:14 +03:00
Anatoli Babenia
ca55415659
Check docker logs with unbuffered Python again
2020-07-31 15:12:56 +03:00