mirror of
https://github.com/hobbyquaker/awesome-mqtt.git
synced 2026-01-23 20:08:10 -08:00
try to fix codespell...
This commit is contained in:
23
.travis.yml
23
.travis.yml
@@ -1,20 +1,17 @@
|
||||
language: ruby
|
||||
|
||||
before_install:
|
||||
- sudo apt-get -y install python3
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- rvm: 2.2
|
||||
env:
|
||||
- TASK='awesome_bot'
|
||||
- env:
|
||||
- TASK='codespell'
|
||||
|
||||
- language: ruby
|
||||
rvm: 2.2
|
||||
before_script:
|
||||
- if [ "$TASK" = "awesome_bot" ]; then gem install awesome_bot; fi
|
||||
- if [ "$TASK" = "codespell" ]; then pip install --user git+https://github.com/codespell-project/codespell.git; fi
|
||||
- pip install git+https://github.com/codespell-project/codespell.git
|
||||
script:
|
||||
- if [ "$TASK" = "awesome_bot" ]; then awesome_bot README.md --allow-dupe --white-list creativecommons,awesome-mqtt.svg,wiki.videolan.org,homegear.eu,cloud.emqx.io,www.busch-jaeger.de; fi
|
||||
- if [ "$TASK" = "codespell" ]; then codespell --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" $(eval "find ./ -type f | xargs"); fi
|
||||
- codespell --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" $(eval "find ./ -type f | xargs")
|
||||
- language: python
|
||||
python: 3.5
|
||||
before_script:
|
||||
- pip install git+https://github.com/codespell-project/codespell.git
|
||||
script:
|
||||
- awesome_bot README.md --allow-dupe --white-list creativecommons,awesome-mqtt.svg,wiki.videolan.org,homegear.eu,cloud.emqx.io,www.busch-jaeger.de
|
||||
|
||||
Reference in New Issue
Block a user