Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
run tests on travis and other prep for merging into master (#29)
Browse files Browse the repository at this point in the history
* run tests on travis and other prep for merging into master

* release 1.2 (#30)

* add web test dep overrides

* use latest dev
  • Loading branch information
jakemac53 authored Jun 23, 2020
1 parent 2947289 commit 2c1d076
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 20 deletions.
43 changes: 32 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,43 @@
language: dart
dart:
- stable
- dev

dart_task:
- test: -p vm
- test: -p firefox
- dartanalyzer: --fatal-infos --fatal-warnings .

matrix:
jobs:
include:
# Only validate formatting using the dev release
- dart: dev
dart_task: dartfmt
- stage: analyze_and_format
name: "Analyze lib/"
dart: dev
os: linux
script: dartanalyzer --fatal-warnings --fatal-infos lib/
# Dirs outside of `lib` are not supported by allowed_experiments.json
- stage: analyze_and_format
name: "Analyze test/"
dart: dev
os: linux
script: dartanalyzer --enable-experiment=non-nullable --fatal-warnings --fatal-infos test/
- stage: analyze_and_format
name: "Format"
dart: dev
os: linux
script: dartfmt -n --set-exit-if-changed .
- stage: test
name: "Vm Tests"
dart: dev
os: linux
script: pub run --enable-experiment=non-nullable test -p vm
- stage: test
name: "Web Tests"
dart: dev
os: linux
script: pub run --enable-experiment=non-nullable test -p chrome

stages:
- analyze_and_format
- test

# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
only: [master, null_safety]

cache:
directories:
Expand Down
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
## 1.2.0-dev
## 1.3.0-nnbd

* Migrate to NNBD

## 1.2.0

* Add typed queue classes such as `Uint8Queue`. These classes implement both
`Queue` and `List` with a highly-efficient typed-data-backed implementation.
Their `sublist()` methods also return typed data classes.

* Update min Dart SDK to `2.4.0`.

## 1.1.6
Expand Down
23 changes: 16 additions & 7 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
name: typed_data
version: 1.3.0-dev
version: 1.3.0-nnbd

description: >-
Utility functions and classes related to the dart:typed_data library.
homepage: https://github.com/dart-lang/typed_data

environment:
sdk: '>=2.9.0-1 <3.0.0'
sdk: '>=2.9.0-18.0 <2.9.0'

dependencies:
collection: ^1.1.0
collection: ^1.15.0-nnbd

dev_dependencies:
pedantic: ^1.9.0
test: ^1.0.0


dependency_overrides:
# test: ^1.12.0
# test_api: ^0.2.14
# test_core: ^0.3.0
async:
git:
url: git://github.com/dart-lang/async.git
Expand All @@ -36,6 +32,11 @@ dependency_overrides:
git:
url: git://github.com/dart-lang/collection.git
ref: null_safety
js:
git:
url: git://github.com/dart-lang/sdk.git
ref: null_safety-pkgs
path: pkg/js
matcher:
git:
url: git://github.com/dart-lang/matcher.git
Expand All @@ -57,6 +58,14 @@ dependency_overrides:
git:
url: git://github.com/dart-lang/pool.git
ref: null_safety
source_maps:
git:
url: git://github.com/dart-lang/source_maps.git
ref: null_safety
source_map_stack_trace:
git:
url: git://github.com/dart-lang/source_map_stack_trace.git
ref: null_safety
source_span:
git:
url: git://github.com/dart-lang/source_span.git
Expand Down

0 comments on commit 2c1d076

Please sign in to comment.