Merge pull request #7461 from wilzbach/upgrade-circleci-2.0

Upgrade to CircleCi 2.0
This commit is contained in:
Sebastian Wilzbach 2017-12-19 03:55:51 +01:00 committed by GitHub
commit b5456a9d33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 19 deletions

27
.circleci/config.yml Normal file
View file

@ -0,0 +1,27 @@
version: 2
jobs:
build:
working_directory: ~/dmd
docker:
- image: circleci/node:4.8.2
parallelism: 1
branches:
ignore:
- dmd-1.x
steps:
- checkout
- run:
command: ./.circleci/run.sh install-deps
name: Install DMD
- run:
command: sudo apt-get update && sudo apt-get install gdb
name: Install GDB
- run:
command: ./.circleci/run.sh setup-repos
name: Clone DMD & DRuntime
- run:
command: ./.circleci/run.sh coverage
name: Run Phobos testsuite with -cov
- run:
command: ./.circleci/run.sh codecov
name: Upload coverage files to CodeCov

View file

@ -1,19 +0,0 @@
dependencies:
pre:
- ./circleci.sh install-deps
cache_directories:
- "~/dlang"
test:
override:
- ./circleci.sh setup-repos
- ./circleci.sh coverage:
parallel: true
post:
- ./circleci.sh codecov
general:
branches:
ignore:
- dmd-1.x