forked from google/flutter-desktop-embedding
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (39 loc) · 1.42 KB
/
.travis.yml
File metadata and controls
42 lines (39 loc) · 1.42 KB
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
34
35
36
37
38
39
40
41
matrix:
include:
- os: linux
dist: xenial
language: cpp
before_install:
- sudo apt-get update
install:
- build/travis/linux/install_dependencies
- build/travis/install_flutter $TRAVIS_BUILD_DIR/..
before_script:
- export PATH=$PATH:$TRAVIS_BUILD_DIR/../flutter/bin:$TRAVIS_BUILD_DIR/bin
script:
- make -C example/linux
- os: linux
dist: xenial
language: cpp
before_install:
- sudo apt-get update
install:
- build/travis/linux/install_dependencies
- build/travis/install_flutter $TRAVIS_BUILD_DIR/..
- build/travis/linux/install_gn bin
before_script:
- export PATH=$PATH:$TRAVIS_BUILD_DIR/bin
script:
- make -C example/linux USE_GN=1
- os: osx
language: objective-c
xcode_project: example/macos/ExampleEmbedder.xcodeproj
xcode_scheme: ExampleEmbedder
install:
- build/travis/install_flutter $TRAVIS_BUILD_DIR/..
# Override the build command to remove 'test'. The example embedder
# doesn't have any unit tests, and while a UI test to ensure that it
# launches would be useful, that's currently broken by:
# https://travis-ci.community/t/issue-cant-run-macos-ui-tests-with-xcode10-1-image/1445
script:
- set -o pipefail && xcodebuild -project $TRAVIS_XCODE_PROJECT -scheme $TRAVIS_XCODE_SCHEME build | xcpretty