mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
updates travis-ci to build vere before testing arvo
This commit is contained in:
parent
3602a96fb7
commit
156a660062
49
.travis.yml
49
.travis.yml
@ -1,13 +1,56 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 4
|
||||
|
||||
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
|
||||
- wget -i pin-urbit-release.url -O ./urbit.deb
|
||||
- sudo apt install ./urbit.deb
|
||||
before_script: bash get-or-build-pill.sh
|
||||
# pwd: ~/urbit/arvo/.travis
|
||||
- npm install
|
||||
- bash get-or-build-pill.sh
|
||||
# https://github.com/travis-ci/travis-ci/issues/2570
|
||||
|
||||
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:
|
||||
- skip_cleanup: true
|
||||
provider: gcs
|
||||
|
@ -1 +0,0 @@
|
||||
https://github.com/urbit/urbit/releases/download/v0.5.1/urbit_0.5-1_amd64.deb
|
1
.travis/pin-vere-commit.txt
Normal file
1
.travis/pin-vere-commit.txt
Normal file
@ -0,0 +1 @@
|
||||
ab4b327e82ff4ee21a332df8ccc426ed7c7a1897
|
Loading…
Reference in New Issue
Block a user