Skip to content

Commit

Permalink
integrate with travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JZoom committed Jun 7, 2018
1 parent a4a2749 commit beb7f8e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
language: dart
script:
- ./travis.sh
22 changes: 22 additions & 0 deletions travis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash


echo "Trying to instasll sdk"

echo "$PWD"
export ROOT="$PWD"

mkdir ~/development

cd ~/development
wget https://storage.googleapis.com/flutter_infra/releases/beta/linux/flutter_linux_v0.4.4-beta.tar.xz
tar xf ~/development/flutter_linux_v0.4.4-beta.tar.xz

export PATH=~/development/flutter/bin:$PATH

cd $ROOT
flutter packages get || exit $?


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

0 comments on commit beb7f8e

Please sign in to comment.