mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
Merge pull request #7461 from wilzbach/upgrade-circleci-2.0
Upgrade to CircleCi 2.0
This commit is contained in:
commit
b5456a9d33
3 changed files with 27 additions and 19 deletions
27
.circleci/config.yml
Normal file
27
.circleci/config.yml
Normal 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
|
19
circle.yml
19
circle.yml
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue