mirror of https://github.com/AMT-Cheif/drift.git
Start migration to cirrus CI
This commit is contained in:
parent
d98449407e
commit
734ea86c6d
|
@ -0,0 +1,14 @@
|
|||
# Run tasks with the dart SDK installed by default
|
||||
container:
|
||||
image: "google/dart:latest"
|
||||
|
||||
task:
|
||||
pub_cache:
|
||||
folder: $HOME/.pub-cache
|
||||
matrix:
|
||||
- name: pub_get
|
||||
test_script: tool/pub_get.sh
|
||||
- name: analyze
|
||||
depends_on:
|
||||
- pub_get
|
||||
test_script: tool/analyze.sh
|
|
@ -59,7 +59,7 @@ packages:
|
|||
path: "../moor"
|
||||
relative: true
|
||||
source: path
|
||||
version: "1.5.1"
|
||||
version: "1.5.1+1"
|
||||
path:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -99,7 +99,7 @@ packages:
|
|||
name: sqflite
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
version: "1.1.6+1"
|
||||
stack_trace:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -127,7 +127,7 @@ packages:
|
|||
name: synchronized
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.5.3+2"
|
||||
version: "2.1.0+1"
|
||||
term_glyph:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -158,3 +158,4 @@ packages:
|
|||
version: "2.0.8"
|
||||
sdks:
|
||||
dart: ">=2.2.0 <3.0.0"
|
||||
flutter: ">=1.2.1 <2.0.0"
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
EXIT_CODE=0
|
||||
|
||||
cd moor
|
||||
echo $(pwd)
|
||||
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dartanalyzer --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
||||
cd ..
|
||||
|
||||
cd moor_flutter
|
||||
echo $(pwd)
|
||||
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dartanalyzer --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
||||
cd ..
|
||||
|
||||
cd moor_generator
|
||||
echo $(pwd)
|
||||
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dartanalyzer --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
||||
cd ..
|
||||
|
||||
cd sqlparser
|
||||
echo $(pwd)
|
||||
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dartanalyzer --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd moor
|
||||
echo $(pwd)
|
||||
pub upgrade
|
||||
cd ..
|
||||
|
||||
cd moor_flutter
|
||||
echo $(pwd)
|
||||
flutter packages upgrade
|
||||
cd ..
|
||||
|
||||
cd moor_generator
|
||||
echo $(pwd)
|
||||
pub upgrade
|
||||
cd ..
|
||||
|
||||
cd sqlparser
|
||||
echo $(pwd)
|
||||
pub upgrade
|
Loading…
Reference in New Issue