forked from polkawallet-io/polkawallet-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 834 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
language: node_js
node_js:
- 12
os:
- linux
sudo: false
addons:
apt:
# Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
sources:
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
packages:
- libstdc++6
- fonts-droid-fallback
before_script:
- git clone https://github.com/flutter/flutter.git -b stable
- ./flutter/bin/flutter doctor
- cd ./lib/js_service_kusama && npm install && npm run build && cd ../..
- cd ./lib/js_service_acala && npm install && npm run build && cd ../..
- cd ./lib/js_service_laminar && npm install && npm run build && cd ../..
- cd ./lib/js_as_extension && npm install && npm run build && cd ../..
script:
- ./flutter/bin/flutter test
cache:
directories:
- $HOME/.pub-cache