Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
JZoom committed Jun 7, 2018
1 parent beb7f8e commit b3b696d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
install:
- ./travis-install.sh
script:
- ./travis.sh
- ./travis-script.sh
3 changes: 0 additions & 3 deletions travis.sh → travis-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,3 @@ export PATH=~/development/flutter/bin:$PATH
cd $ROOT
flutter packages get || exit $?


echo 'Formating code'
flutter format . || exit $?
8 changes: 8 additions & 0 deletions travis-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

echo "$PWD"
export ROOT="$PWD"
export PATH=~/development/flutter/bin:$PATH

echo 'Formating code'
flutter format . || exit $?

0 comments on commit b3b696d

Please sign in to comment.