Permalink
Browse files

Integrate Chrome tracing into CI

  • Loading branch information...
JakeWharton committed Aug 1, 2018
1 parent 2d476c9 commit 3cc9bd8bc9741cf8459bf975a186e0c36e5481d8
Showing with 14 additions and 1 deletion.
  1. +3 −1 .circleci/config.yml
  2. BIN gradle/chrome-trace.jar
  3. +11 −0 init.gradle
@@ -21,7 +21,7 @@ jobs:
- run:
name: Assemble
command: ./gradlew --no-daemon assemble bundle test :store:item:android-sql:assembleAndroidTest :frontend:android:lint projectDependencyGraph
command: ./gradlew --no-daemon --init-script init.gradle -Dtrace assemble bundle test :store:item:android-sql:assembleAndroidTest :frontend:android:lint projectDependencyGraph
# TODO remove bundle https://issuetracker.google.com/issues/79936441
# TODO remove assembleAndroidTest https://issuetracker.google.com/issues/80464227
# TODO remove assembleAndroidTest https://issuetracker.google.com/issues/79934948
@@ -41,6 +41,8 @@ jobs:
path: build/commit-timestamp.txt
- store_artifacts:
path: build/project.dot.png
- store_artifacts:
path: build/trace.html
- run:
name: Aggregate Test Results
Binary file not shown.
@@ -0,0 +1,11 @@
initscript {
dependencies {
classpath files('gradle/chrome-trace.jar')
}
}
rootProject {
ext.chromeTraceFile = new File(rootProject.buildDir, 'trace.html')
}
apply plugin: org.gradle.trace.GradleTracingPlugin

0 comments on commit 3cc9bd8

Please sign in to comment.