add support for github actions (#69)

add support for github actions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 0000000..dcb51d4
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,25 @@
+name: Dart
+
+on:
+  schedule:
+    # “At 00:00 (UTC) on Sunday.”
+    - cron: '0 0 * * 0'
+  pull_request:
+  push:
+    branches:
+      - master
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    container:
+      image:  google/dart:dev
+
+    steps:
+      - uses: actions/checkout@v2
+      - run: dart pub get
+      - run: dart format --output=none --set-exit-if-changed .
+      - run: dart analyze
+      # TODO: We need to set up chrome / chrome driver on github actions.
+      #- run: dart test
diff --git a/example/multiplex_impl.dart b/example/multiplex_impl.dart
index a2e9911..704942a 100644
--- a/example/multiplex_impl.dart
+++ b/example/multiplex_impl.dart
@@ -86,7 +86,10 @@
       } else {
         html.write(tab.url);
       }
-      html..write('</a></td><td>')..write(tab.description)..write('</td></tr>');
+      html
+        ..write('</a></td><td>')
+        ..write(tab.description)
+        ..write('</td></tr>');
     }
     html.write(r'''</tbody>
 </table>
diff --git a/lib/dom_model.dart b/lib/dom_model.dart
index ccfc032..b05714f 100644
--- a/lib/dom_model.dart
+++ b/lib/dom_model.dart
@@ -334,7 +334,9 @@
 List<String> flattenAttributesMap(Map<String, String> attributes) {
   var result = <String>[];
   attributes.forEach((k, v) {
-    result..add(k)..add(v);
+    result
+      ..add(k)
+      ..add(v);
   });
   return result;
 }
diff --git a/tool/travis.sh b/tool/travis.sh
deleted file mode 100755
index 04cf687..0000000
--- a/tool/travis.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2014, Google Inc. Please see the AUTHORS file for details.
-# All rights reserved. Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# Fast fail the script on failures.
-set -e
-
-# Verify that the libraries are error free.
-pub global activate tuneup
-pub global run tuneup check
-
-# Install CHROMEDRIVER
-export CHROMEDRIVER_BINARY=/usr/bin/google-chrome
-export CHROMEDRIVER_OS=linux64
-export CHROME_LATEST_VERSION=$("$CHROMEDRIVER_BINARY" --version | cut -d' ' -f3 | cut -d'.' -f1)
-export CHROME_DRIVER_VERSION=$(wget -qO- https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_LATEST_VERSION)
-wget https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_$CHROMEDRIVER_OS.zip
-unzip "chromedriver_${CHROMEDRIVER_OS}.zip"
-export CHROMEDRIVER_ARGS=--no-sandbox
-export PATH=$PATH:$PWD
-
-# Run tests
-pub run test -j 1