Skip to content

Commit

Permalink
Cirrus setup (#1)
Browse files Browse the repository at this point in the history
* Add Cirrus CI configuration file.

* Add http dependency.

* Use RaisedButton instead of ElevatedButton for now.
  • Loading branch information
CaramelDunes authored Sep 28, 2020
1 parent ad7d685 commit 62f109b
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 34 deletions.
14 changes: 14 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
container:
image: cirrusci/flutter:latest

android_build_task:
pub_cache:
folder: ~/.pub-cache
oaci_vfr_cache:
folder: assets/offline_layers/oaci_vfr
build_script:
- pub get
- dart bin/download_oaci_vfr.dart
- flutter build apk
apk_artifacts:
path: "build/app/outputs/apk/release/app-release.apk"
2 changes: 1 addition & 1 deletion lib/map/map_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class _MapScreenState extends State<MapScreen> {
},
),
SizedBox(height: 8),
ElevatedButton(
RaisedButton(
child: Text('Submit'),
onPressed: () {
print(double.parse(val));
Expand Down
51 changes: 22 additions & 29 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0-nullsafety"
version: "2.5.0-nullsafety.1"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety"
version: "2.1.0-nullsafety.1"
cached_network_image:
dependency: "direct main"
description:
Expand All @@ -49,28 +49,28 @@ packages:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.2"
version: "1.1.0-nullsafety.3"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0-nullsafety"
version: "1.2.0-nullsafety.1"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety"
version: "1.1.0-nullsafety.1"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0-nullsafety.2"
version: "1.15.0-nullsafety.3"
console_log_handler:
dependency: transitive
description:
Expand All @@ -92,13 +92,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.5"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
enviro_sensors:
dependency: "direct main"
description:
Expand All @@ -112,7 +105,7 @@ packages:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety"
version: "1.2.0-nullsafety.1"
ffi:
dependency: transitive
description:
Expand Down Expand Up @@ -201,7 +194,7 @@ packages:
source: hosted
version: "1.0.4"
http:
dependency: transitive
dependency: "direct main"
description:
name: http
url: "https://pub.dartlang.org"
Expand Down Expand Up @@ -255,14 +248,14 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.10-nullsafety"
version: "0.12.10-nullsafety.1"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0-nullsafety.2"
version: "1.3.0-nullsafety.3"
mgrs_dart:
dependency: transitive
description:
Expand All @@ -283,14 +276,14 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0-nullsafety"
version: "1.8.0-nullsafety.1"
path_provider:
dependency: "direct main"
description:
name: path_provider
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.16"
version: "1.6.18"
path_provider_linux:
dependency: transitive
description:
Expand Down Expand Up @@ -318,7 +311,7 @@ packages:
name: path_provider_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.4"
version: "0.0.4+1"
pedantic:
dependency: transitive
description:
Expand Down Expand Up @@ -393,7 +386,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0-nullsafety.1"
version: "1.8.0-nullsafety.2"
sqflite:
dependency: transitive
description:
Expand All @@ -414,21 +407,21 @@ packages:
name: stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.10.0-nullsafety"
version: "1.10.0-nullsafety.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety"
version: "2.1.0-nullsafety.1"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety"
version: "1.1.0-nullsafety.1"
synchronized:
dependency: transitive
description:
Expand All @@ -442,14 +435,14 @@ packages:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0-nullsafety"
version: "1.2.0-nullsafety.1"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.19-nullsafety"
version: "0.2.19-nullsafety.2"
transparent_image:
dependency: transitive
description:
Expand All @@ -470,7 +463,7 @@ packages:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0-nullsafety.2"
version: "1.3.0-nullsafety.3"
unicode:
dependency: transitive
description:
Expand Down Expand Up @@ -498,7 +491,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety.2"
version: "2.1.0-nullsafety.3"
wakelock:
dependency: "direct main"
description:
Expand Down Expand Up @@ -542,5 +535,5 @@ packages:
source: hosted
version: "2.2.1"
sdks:
dart: ">=2.10.0-137.0 <2.10.0"
dart: ">=2.10.0-110 <=2.11.0-161.0.dev"
flutter: ">=1.20.0 <2.0.0"
5 changes: 1 addition & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ dependencies:
font_awesome_flutter: ^8.8.1
path_provider: ^1.6.11
wakelock: ^0.1.4+2

cupertino_icons: ^0.1.3

flutter_foreground_plugin: ^0.5.0

cached_network_image: ^2.3.1
http: ^0.12.2

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 62f109b

Please sign in to comment.