2018-12-14 01:55:55 +00:00
|
|
|
dist: xenial
|
2014-12-31 14:33:57 +00:00
|
|
|
sudo: false
|
2017-05-19 11:37:15 +00:00
|
|
|
|
|
|
|
language: d
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
d:
|
|
|
|
- dmd
|
|
|
|
- ldc
|
2018-11-02 05:05:10 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2017-05-19 11:37:15 +00:00
|
|
|
|
|
|
|
before_install:
|
2018-12-14 01:55:55 +00:00
|
|
|
- sudo apt-get install python3-pip python3-setuptools
|
2018-12-11 13:47:17 +00:00
|
|
|
- pip3 install 'meson==0.48.2'
|
2017-05-19 11:37:15 +00:00
|
|
|
|
|
|
|
install:
|
2018-12-14 01:55:55 +00:00
|
|
|
- mkdir .ntmp && curl -L https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip -o .ntmp/ninja-linux.zip
|
|
|
|
- unzip .ntmp/ninja-linux.zip -d .ntmp
|
2017-05-19 11:37:15 +00:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- export PATH=$PATH:$PWD/.ntmp
|
|
|
|
|
|
|
|
script:
|
2018-12-14 01:55:55 +00:00
|
|
|
- meson build && ninja -j8 -C build
|
|
|
|
- ninja -j8 -C build test -v
|
2017-05-19 11:37:15 +00:00
|
|
|
- dub build
|
2018-04-27 03:19:33 +00:00
|
|
|
- "dub build dyaml:benchmark"
|
|
|
|
- "dub build dyaml:constructor"
|
|
|
|
- "dub build dyaml:getting-started"
|
|
|
|
- "dub build dyaml:representer"
|
|
|
|
- "dub build dyaml:resolver"
|
2018-06-21 03:34:07 +00:00
|
|
|
- "dub build dyaml:tojson"
|
2018-04-27 03:19:33 +00:00
|
|
|
- "dub build dyaml:yaml_gen"
|
|
|
|
- "dub build dyaml:yaml_stats"
|
2017-06-13 04:43:19 +00:00
|
|
|
- dub test --build=unittest-cov
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|