Skip to content

Commit 5f04e00

Browse files
authored
Remove travis directory (flutter#5935)
This reflects that we no longer uses travis. Scripts are moved to ci folder.
1 parent 5442c0a commit 5f04e00

18 files changed

+15
-42
lines changed

.cirrus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ format_and_dart_test_task:
4343
cp $CIRRUS_WORKING_DIR -r ./flutter
4444
gclient sync
4545
46-
format_script: cd $ENGINE_PATH/src/flutter && ./travis/format.sh
47-
build_script: cd $ENGINE_PATH/src/flutter && ./travis/build.sh
48-
test_script: cd $ENGINE_PATH/src/flutter && ./travis/test.sh
46+
format_script: cd $ENGINE_PATH/src/flutter && ./ci/format.sh
47+
build_script: cd $ENGINE_PATH/src/flutter && ./ci/build.sh
48+
test_script: cd $ENGINE_PATH/src/flutter && ./ci/test.sh

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Contributing to the Flutter engine
22
==================================
33

4-
[![Build Status](https://travis-ci.org/flutter/engine.svg)](https://travis-ci.org/flutter/engine)
4+
[![Build Status](https://cirrus-ci.com/flutter/engine.svg)](https://cirrus-ci.com/flutter/engine)
55

66
_See also: [Flutter's code of conduct](https://flutter.io/design-principles/#code-of-conduct)_
77

File renamed without changes.

travis/build.sh renamed to ci/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ cd ..
77

88
flutter/tools/gn --unoptimized
99
ninja -C out/host_debug_unopt generate_dart_ui
10-
flutter/travis/analyze.sh
11-
flutter/travis/licenses.sh
10+
flutter/ci/analyze.sh
11+
flutter/ci/licenses.sh
File renamed without changes.
File renamed without changes.

travis/licenses.sh renamed to ci/licenses.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ set -e
33
shopt -s nullglob
44

55
echo "Verifying license script is still happy..."
6-
(cd flutter/tools/licenses; pub get; dart --checked lib/main.dart --src ../../.. --out ../../../out/license_script_output --golden ../../travis/licenses_golden)
6+
(cd flutter/tools/licenses; pub get; dart --checked lib/main.dart --src ../../.. --out ../../../out/license_script_output --golden ../../ci/licenses_golden)
77

88
for f in out/license_script_output/licenses_*; do
9-
if ! cmp -s flutter/travis/licenses_golden/$(basename $f) $f
9+
if ! cmp -s flutter/ci/licenses_golden/$(basename $f) $f
1010
then
1111
echo "License script got different results than expected for $f."
1212
echo "Please rerun the licenses script locally to verify that it is"
@@ -16,7 +16,7 @@ for f in out/license_script_output/licenses_*; do
1616
echo "For more information, see the script in:"
1717
echo " https://github.com/flutter/engine/tree/master/tools/licenses"
1818
echo ""
19-
diff -U 6 flutter/travis/licenses_golden/$(basename $f) $f
19+
diff -U 6 flutter/ci/licenses_golden/$(basename $f) $f
2020
exit 1
2121
fi
2222
done

travis/licenses_golden/licenses_flutter renamed to ci/licenses_golden/licenses_flutter

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
187187
LIBRARY: engine
188188
ORIGIN: ../../../LICENSE
189189
TYPE: LicenseType.bsd
190-
FILE: ../../../flutter/.cirrus.yml
191190
FILE: ../../../flutter/DEPS
192-
FILE: ../../../flutter/ci/docker/build/Dockerfile
193-
FILE: ../../../flutter/ci/docker/build/engine_gclient
194191
FILE: ../../../flutter/lib/io/dart_io.cc
195192
FILE: ../../../flutter/lib/io/dart_io.h
196193
FILE: ../../../flutter/lib/snapshot/libraries.json
File renamed without changes.
File renamed without changes.

testing/run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -ex
55
out/host_debug_unopt/fxl_unittests
66
out/host_debug_unopt/synchronization_unittests
77

8-
flutter/travis/analyze.sh
8+
flutter/ci/analyze.sh
99

1010
pushd flutter/testing/dart
1111
pub get
@@ -20,5 +20,5 @@ for TEST_SCRIPT in flutter/testing/dart/*.dart; do
2020
done
2121

2222
pushd flutter
23-
travis/test.sh
23+
ci/test.sh
2424
popd

tools/licenses/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ To update the golden license files, make sure you've rebased your branch to the
44
pub get
55
gclient sync
66
rm -rf ../../../out/licenses
7-
dart lib/main.dart --src ../../.. --out ../../../out/licenses --golden ../../travis/licenses_golden
7+
dart lib/main.dart --src ../../.. --out ../../../out/licenses --golden ../../ci/licenses_golden
88
```
99

10-
Then copy any affected files from `../../../out/licenses` to `../../travis/licenses_golden` and add them to your change.
10+
Then copy any affected files from `../../../out/licenses` to `../../ci/licenses_golden` and add them to your change.
1111

1212
The `sky/packages/sky_engine/LICENSE` file is included in product releases and should be updated any time the golden file changes in a way that involves changes to anything other than the FILE lines. To update this file, run:
1313

tools/licenses/lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ abstract class RepositoryLicensedFile extends RepositoryFile {
5454
static final RegExp _readmeNamePattern = new RegExp(r'\b_*(?:readme|contributing|patents)_*\b', caseSensitive: false);
5555
static final RegExp _buildTimePattern = new RegExp(r'^(?!.*gen$)(?:CMakeLists\.txt|(?:pkgdata)?Makefile(?:\.inc)?(?:\.am|\.in|)|configure(?:\.ac|\.in)?|config\.(?:sub|guess)|.+\.m4|install-sh|.+\.sh|.+\.bat|.+\.pyc?|.+\.pl|icu-configure|.+\.gypi?|.*\.gni?|.+\.mk|.+\.cmake|.+\.gradle|.+\.yaml|pubspec\.lock|\.packages|vms_make\.com|pom\.xml|\.project|source\.properties)$', caseSensitive: false);
5656
static final RegExp _docsPattern = new RegExp(r'^(?:INSTALL|NEWS|OWNERS|AUTHORS|ChangeLog(?:\.rst|\.[0-9]+)?|.+\.txt|.+\.md|.+\.log|.+\.css|.+\.1|doxygen\.config|.+\.spec(?:\.in)?)$', caseSensitive: false);
57-
static final RegExp _devPattern = new RegExp(r'^(?:codereview\.settings|.+\.~|.+\.~[0-9]+~|\.clang-format|\.gitattributes|\.landmines|\.DS_Store|\.travis\.yml)$', caseSensitive: false);
57+
static final RegExp _devPattern = new RegExp(r'^(?:codereview\.settings|.+\.~|.+\.~[0-9]+~|\.clang-format|\.gitattributes|\.landmines|\.DS_Store|\.travis\.yml|\.cirrus\.yml)$', caseSensitive: false);
5858
static final RegExp _testsPattern = new RegExp(r'^(?:tj(?:bench|example)test\.(?:java\.)?in|example\.c)$', caseSensitive: false);
5959

6060
bool get isIncludedInBuildProducts {
@@ -2211,7 +2211,7 @@ class RepositoryFlutterDirectory extends RepositoryDirectory {
22112211
&& entry.name != 'docs'
22122212
&& entry.name != 'examples'
22132213
&& entry.name != 'build'
2214-
&& entry.name != 'travis'
2214+
&& entry.name != 'ci'
22152215
&& entry.name != 'frontend_server'
22162216
&& super.shouldRecurse(entry);
22172217
}

travis/gclient

Lines changed: 0 additions & 9 deletions
This file was deleted.

travis/setup.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)