blob: 2eca7bfb679006c819c7d8b162131729a0797931 [file] [log] [blame]
Chris Craikb122baf2015-03-05 13:58:42 -08001# Copyright 2015 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5language: python
6
7python:
8 - "2.7"
9
10before_install:
11 - export DISPLAY=:99.0
12 - sh -e /etc/init.d/xvfb start
Chris Craik24385db2015-06-11 11:16:26 -070013 - export CHROME_VER=$(
14 curl -s http://omahaproxy.appspot.com/all | grep linux,stable | cut -d, -f3)
15 - echo "Downloading Chrome stable channel ($CHROME_VER)"
Chris Craikb122baf2015-03-05 13:58:42 -080016 - GCS="https://commondatastorage.googleapis.com/chrome-unsigned"
Chris Craik24385db2015-06-11 11:16:26 -070017 - curl -s $GCS/desktop-W15K3Y/$CHROME_VER/precise64/chrome-precise64.zip
Chris Craikb122baf2015-03-05 13:58:42 -080018 -o /tmp/chrome.zip
19 - unzip -q /tmp/chrome.zip -d /tmp
20
21script:
Chris Craikb2cbf152015-07-28 16:26:29 -070022 - ./tracing/run_tests --chrome_path=/tmp/chrome-precise64/chrome
Chris Craikbeca7ae2015-04-07 13:29:55 -070023
24# Vulcanize trace_viewer in full & chrome mode & report total size
Chris Craikb2cbf152015-07-28 16:26:29 -070025 - ./tracing/vulcanize_trace_viewer --config=chrome
26 - ./tracing/vulcanize_trace_viewer --config=full
27 - stat -c%s tracing/bin/trace_viewer_chrome.html
28 - stat -c%s tracing/bin/trace_viewer_full.html