dyaml/.travis.yml

41 lines
881 B
YAML
Raw Normal View History

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
branches:
only:
- master
2017-05-19 11:37:15 +00:00
before_install:
- sudo apt-get install python3-pip python3-setuptools
- pip3 install 'meson==0.48.2'
2017-05-19 11:37:15 +00:00
install:
- 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:
- 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"
- "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)