Skip to content

Commit

Permalink
build(.travis.yml): simplify and reduce build load
Browse files Browse the repository at this point in the history
  • Loading branch information
jtacoma committed Dec 8, 2020
1 parent dccb175 commit c8a6712
Showing 1 changed file with 2 additions and 36 deletions.
38 changes: 2 additions & 36 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@

os:
- linux

dist: xenial

addons:
apt:
packages:
- lcov
language: nix
nix: 2.3.9

env:
- GOMODCACHE: "${TRAVIS_BUILD_DIR}/tmp/go/mod"
Expand All @@ -38,33 +34,3 @@ before_install:
before_cache:
- mkdir -p $HOME/nix.store
- nix copy --to file://$HOME/nix.store -f default.nix buildInputs nativeBuildInputs

jobs:
include:
- language: go
go:
- 1.x
- 1.14
before_install:
- go get github.com/mattn/goveralls
script:
- ./githooks/pre-commit
- go test -cpu 1,4 -race -v ./...
- ./build/ci/travis-coverage
- language: dart
dart:
- stable
- dev
cache:
directories:
- $HOME/.pub-cache
script:
- pub global activate coverage
- pub global activate coveralls
- pub global activate gpm ^0.2.1
- pub global run gpm get
- pub global run gpm test --platform=vm
- ./build/ci/collect-dart-coverage-lcov
- pub global run coveralls dart-coverage.lcov
- language: nix
nix: 2.3.9

0 comments on commit c8a6712

Please sign in to comment.