Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion ansible/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
roles:
- jenkins_slave
tasks:
- name: test dependencies
- name: test dependencies (1/2)
apt: { name: "{{ item }}", install_recommends: no, update_cache: yes, cache_valid_time: 3600 }
with_items:
- build-essential
Expand All @@ -87,12 +87,19 @@
- git
- jq
- libblas-dev
- libbz2-dev
- libcairo-dev
- libcurl4-gnutls-dev
- libevent-dev
- libgcrypt20-dev
- libgpg-error-dev
- libgtk-3-0
- liblapack-dev
- liblzo2-dev
- libreadline-dev
- libssl-dev
- libxml2-dev
- libxslt1-dev
- libzmq3-dev
- mongodb-server
- moreutils # sponge et.al.
Expand All @@ -104,6 +111,13 @@
- rsync
- unzip
tags: deps
- name: test dependencies (2/2)
apt: { deb: "{{ item }}", install_recommends: no }
with_items:
- https://bintray.com/sociomantic-tsunami/dlang/download_file?file_path=libebtree6_6.0.socio6-xenial_amd64.deb
- https://bintray.com/sociomantic-tsunami/dlang/download_file?file_path=libebtree6-dev_6.0.socio6-xenial_amd64.deb
- https://bintray.com/sociomantic-tsunami/dlang/download_file?file_path=d1to2fix_0.10.0-alpha1-xenial_amd64.deb
tags: deps
- name: disable mongodb journaling
lineinfile: { dest: /etc/mongodb.conf, regexp: "^{{ item.key }} *=", line: "{{ item.key }} = {{ item.value }}" }
with_dict:
Expand Down
12 changes: 12 additions & 0 deletions vars/runPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,12 @@ def testDownstreamProject (name) {

if (repo == 'rejectedsoftware/vibe.d') {
clone("https://github.com/${repo}.git", 'v0.8.1-rc.1')
} else if (repo == "sociomantic-tsunami/ocean") {
clone("https://github.com/${repo}.git", 'v4.0.0-alpha.2')
} else {
cloneLatestTag("https://github.com/${repo}.git")
}

switch (repo) {
case ['Hackerpilot/DCD', 'Hackerpilot/dfix']:
sh 'make DMD=$DMD'
Expand Down Expand Up @@ -206,6 +209,14 @@ def testDownstreamProject (name) {
sh 'dub test --compiler=$DC'
break;

case 'sociomantic-tsunami/ocean':
sh '''
git submodule update --init
make d2conv V=1
make test V=1 DVER=2 F=production ALLOW_DEPRECATIONS=1
'''
break;

default:
test_travis_yaml()
break;
Expand Down Expand Up @@ -315,6 +326,7 @@ DFLAGS=-I%@P%/../imports -L-L%@P%/../libs -L--export-dynamic -L--export-dynamic
// sorted by test time slow to fast
"rejectedsoftware/vibe.d",
"dlang/dub",
"sociomantic-tsunami/ocean",
"higgsjs/Higgs",
"BlackEdder/ggplotd",
"atilaneves/unit-threaded",
Expand Down