From c9bb2fe462ef99adeada2f589690e0f1a8db30e0 Mon Sep 17 00:00:00 2001 From: Grummfy Date: Mon, 2 Oct 2017 20:58:00 +0200 Subject: [PATCH] atoum phar inside the build scripts --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f0d4106..6c36fce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ language: objective-c -script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh' +script: +- latest_version=$(curl -s https://api.github.com/repos/atoum/atoum/releases/latest | jq '.tag_name' | sed 's/"//g') +- curl -s https://github.com/atoum/atoum/releases/download/${latest_version}/atoum.phar > resources/atoum.phar +- curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh