forked from SpinlockLabs/github.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (28 loc) · 955 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Travis CI Build for GitHub.dart
# Since Travis CI doesn't support Dart out of the box
# we use this as a placeholder. Not really a big deal.
language: node_js
# Build Matrix Configurations
env:
- DART_CHANNEL=stable DART_VERSION=latest # Latest Dart Release
- DART_CHANNEL=dev DART_VERSION=latest # Dart Development Channel
- DART_CHANNEL=be DART_VERSION=latest # Dart Bleeding Edge Channel
# Setup Dart
install:
- "mkdir tools"
- "cd tools"
- "wget http://gsdview.appspot.com/dart-archive/channels/${DART_CHANNEL}/raw/${DART_VERSION}/sdk/dartsdk-linux-x64-release.zip -O sdk.zip"
- "unzip sdk.zip"
- "cd .."
- "export DART_SDK=${PWD}/tools/dart-sdk"
- "export PATH=${PATH}:${DART_SDK}/bin"
- "dart --version"
# Run the Build
script:
- "./tool/ci/retry.sh pub get" # Get Dependencies
- "./tool/build.dart check" # Run Build System
notifications:
webhooks:
urls:
- "http://n.tkte.ch/h/1825/gZOGuQckPyg_Pg4E2eXOMrlI"
on_start: always