Skip to content

Commit

Permalink
Dev: Check for syntax errors on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed May 31, 2018
1 parent 6f561be commit 787b554
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,7 @@ before_script:
- java -jar selenium-server-standalone-3.7.1.jar -enablePassThrough false > /dev/null 2> /dev/null &

script:
# Check for syntax errors.
- find application/ -type f -name "*.php" -exec php -l {} \; | grep -v 'No syntax errors'
# Run tests.
- DOMAIN=localhost phpunit

3 comments on commit 787b554

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olleharstedt This brake travis for PHP5 :( 😢

@olleharstedt
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. :|

@olleharstedt
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed a fix.

Please sign in to comment.