-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
34 lines (34 loc) · 957 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
matrix:
include:
- language: php
php: 7.1
install:
- composer install
- mkdir -p build/logs
before_script:
- find . -type f -name *.php -not -path "./vendor/*" | xargs -n1 php -l
script:
- cd ${TRAVIS_BUILD_DIR}
- ./tests/launch_tests.sh
after_script:
- sed -i'' 's/tests\/mocked_Jeedom_env\/plugins\/AndroidRemoteControl\///g' clover.xml
- php vendor/bin/php-coveralls
- language: python
python: 2.7
install:
- pip install pylint
script:
- cd ${TRAVIS_BUILD_DIR}
- ./tests/tools/lintAllPythonFiles.sh
- language: markdown
addons:
apt:
packages:
- aspell
- aspell-fr
script:
- gem install mdl
- cd ${TRAVIS_BUILD_DIR}
- ./tests/tools/setCustomMDWarnings.sh
- mdl -r $MDLWAR *.md docs/fr_FR/*.md
- ./tests/tools/spellCheckMD.sh