.travis.yml : cleanup

pull/2216/head
nodiscc 4 years ago
parent 40ab55a72d
commit f29daa3b54

@ -10,8 +10,6 @@ before_install:
- gem install awesome_bot - gem install awesome_bot
- cd tests && npm install chalk && cd .. - cd tests && npm install chalk && cd ..
before_script:
script: script:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md; fi || (exit 0)' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md; fi || (exit 0)'
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then node tests/test.js -r README.md -d temp.md; else node tests/test.js -r README.md; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then node tests/test.js -r README.md -d temp.md; else node tests/test.js -r README.md; fi'

Loading…
Cancel
Save