diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-20 22:41:02 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-27 23:54:13 -0400 |
commit | 1bf88c580aedd82dc7e3ebede2ba10e3fecf298e (patch) | |
tree | 0cb8ee447d4811661c7a5fea0cfb259ec353cbe6 /circle.yml | |
parent | 9af839c58eec4a6e64a5c200c3ddea6458998916 (diff) | |
download | cbt-1bf88c580aedd82dc7e3ebede2ba10e3fecf298e.tar.gz cbt-1bf88c580aedd82dc7e3ebede2ba10e3fecf298e.tar.bz2 cbt-1bf88c580aedd82dc7e3ebede2ba10e3fecf298e.zip |
allow running tests in the same process, forked or forked in direct mode
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 27 |
1 files changed, 20 insertions, 7 deletions
@@ -3,25 +3,38 @@ machine: version: oraclejdk8 dependencies: -# cache_directories: -# - "cache" + cache_directories: + - "~/cache" override: - - sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe" - - sudo apt-get update - - sudo apt-get install -t trusty-backports shellcheck + - mkdir -p ~/cache + - wget http://mirrors.kernel.org/ubuntu/pool/universe/n/nailgun/nailgun_0.9.0+trunk95-3_amd64.deb --continue -O ~/cache/nailgun_0.9.0+trunk95-3_amd64.deb + - sudo dpkg -i ~/cache/nailgun_0.9.0+trunk95-3_amd64.deb + - wget http://mirrors.kernel.org/ubuntu/pool/universe/s/shellcheck/shellcheck_0.3.3-1~ubuntu14.04.1_amd64.deb --continue -O ~/cache/shellcheck_0.3.3-1~ubuntu14.04.1_amd64.deb + - sudo dpkg -i ~/cache/shellcheck_0.3.3-1~ubuntu14.04.1_amd64.deb compile: override: + - ./cbt direct compile + - ./cbt direct test.compile - ./cbt compile - - git diff --exit-code - - ./cbt direct - ./cbt -Dlog=all + - git diff --exit-code test: override: - rm ~/.gitconfig # avoid url replacement breaking jgit - ./cbt direct test.run slow: timeout: 1800 + - ./cbt direct test.run slow: + timeout: 1800 + - ./cbt direct test.run slow fork: + timeout: 1800 + - ./cbt direct test.run slow fork direct: + timeout: 1800 - ./cbt test.run slow: timeout: 1800 + - ./cbt test.run slow fork: + timeout: 1800 + - ./cbt test.run slow fork direct: + timeout: 1800 - git diff --exit-code |