Bug fix for dygraph point selection touch event.
[dygraphs.git] / scripts / weigh-in.sh
CommitLineData
2d0f8227
DV
1#!/bin/bash
2# This tracks the effect of pull requests on the size of dygraphs.
3# See https://github.com/danvk/travis-weigh-in
4set -o errexit
5
91bd611c
DV
6if [ -z "$GITHUB_TOKEN" ]; then
7 echo "GITHUB_TOKEN not set. Skipping size checks."
8 exit 0
9
10else
11
12 curl -O https://raw.githubusercontent.com/danvk/travis-weigh-in/master/weigh_in.py
fd6b8dad 13 python weigh_in.py dist/dygraph.min.js
91bd611c
DV
14 gzip -c dist/dygraph.min.js > dist/dygraph.min.js.gz
15 python weigh_in.py dist/dygraph.min.js.gz
16
17fi