prepare to release 1.1.2 (#9)
Also cleaned up .travis config
diff --git a/.travis.yml b/.travis.yml
index b1279b7..d2ada81 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,17 @@
language: dart
-script: ./tool/travis.sh
-sudo: false
+
+dart:
+ - stable
+ - dev
+
+dart_task:
+ - dart_analyzer: --fatal-warnings .
+ - dartfmt
+
+# Only building master means that we don't run two builds for each pull request.
+branches:
+ only: [master]
+
+cache:
+ directories:
+ - $HOME/.pub-cache
diff --git a/analysis_options.yaml b/analysis_options.yaml
index b727f4d..4bf7b17 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -1,5 +1,3 @@
-analyzer:
- strong-mode: true
linter:
rules:
# Errors
diff --git a/pubspec.yaml b/pubspec.yaml
index 6165c60..19a96f7 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,12 +1,11 @@
name: charcode
-version: 1.1.2-dev
+version: 1.1.2
author: Dart Team <misc@dartlang.org>
-description: >
+description: >-
Constants for ASCII and common non-ASCII character codes.
-
When working with characters in Dart, there is no simple way to
represent the code point of a character.
This library declares readable symbolic names for character codes.
homepage: https://github.com/dart-lang/charcode
environment:
- sdk: '>=1.0.0 <2.0.0-dev'
+ sdk: '>=1.0.0 <3.0.0'
diff --git a/tool/travis.sh b/tool/travis.sh
deleted file mode 100755
index c7c9d06..0000000
--- a/tool/travis.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2015, the Dart project authors. 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.
-dartanalyzer --fatal-warnings \
- lib/charcode.dart