Skip to content

Commit

Permalink
Merge branch 'master' of github.com:renancaraujo/photo_view
Browse files Browse the repository at this point in the history
  • Loading branch information
Renan Araujo committed Apr 9, 2019
2 parents 48c1e16 + 239a4a5 commit 6ea20a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ addons:
- fonts-droid
before_script:
- git clone https://github.com/flutter/flutter.git -b beta --depth 1
- ./flutter/bin/flutter doctor
- mv flutter $HOME/flutter
- export PATH=$HOME/flutter/bin:$PATH
- flutter doctor
script:
- set -e
- ./format.sh
- ./flutter/bin/flutter test
- set +e
- flutter test
cache:
directories:
- $HOME/.pub-cache
1 change: 1 addition & 0 deletions format.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if [[ $(flutter format -n .) ]]; then
echo "files not formatted"
exit 1
else
exit 0
Expand Down

0 comments on commit 6ea20a4

Please sign in to comment.