updates travis-ci to build vere before testing arvo

This commit is contained in:
Joe Bryan 2018-08-27 17:19:09 -07:00
parent 3602a96fb7
commit 156a660062
3 changed files with 47 additions and 4 deletions

View File

@ -1,13 +1,56 @@
language: node_js language: node_js
node_js: node_js:
- 4 - 4
before_install: before_install:
# building vere directly in lieu of a working debian package script
# pwd: ~/urbit/arvo
- cd ../
- wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
- unzip ninja-linux.zip
- sudo mv ninja /usr/bin/
install:
# pwd: ~/urbit
- pip3 install --user -I meson==0.44.1
- git clone https://github.com/urbit/urbit
- cd ./urbit
# pwd: ~/urbit/urbit
- git checkout $(cat ../arvo/.travis/pin-vere-commit.txt)
- ./scripts/bootstrap
- ./scripts/build
- sudo ninja -C build install
- cd ../arvo
# pwd: ~/urbit/arvo
before_script:
- cd .travis - cd .travis
- wget -i pin-urbit-release.url -O ./urbit.deb # pwd: ~/urbit/arvo/.travis
- sudo apt install ./urbit.deb - npm install
before_script: bash get-or-build-pill.sh - bash get-or-build-pill.sh
# https://github.com/travis-ci/travis-ci/issues/2570 # https://github.com/travis-ci/travis-ci/issues/2570
before_deploy: "[ -d piers ] || { mkdir piers && tar cvzSf piers/zod-$TRAVIS_COMMIT.tgz zod/; }" before_deploy: "[ -d piers ] || { mkdir piers && tar cvzSf piers/zod-$TRAVIS_COMMIT.tgz zod/; }"
addons:
apt:
packages:
- python3
- python3-pip
- libgmp3-dev
- libsigsegv-dev
- openssl
- libssl-dev
- libncurses5-dev
- automake
- autoconf
- make
- libtool
- g++
- re2c
- libcurl4-gnutls-dev
- unzip
deploy: deploy:
- skip_cleanup: true - skip_cleanup: true
provider: gcs provider: gcs

View File

@ -1 +0,0 @@
https://github.com/urbit/urbit/releases/download/v0.5.1/urbit_0.5-1_amd64.deb

View File

@ -0,0 +1 @@
ab4b327e82ff4ee21a332df8ccc426ed7c7a1897