2018-08-10 23:54:06 +03:00
|
|
|
language: node_js
|
2017-12-02 07:51:46 +03:00
|
|
|
node_js:
|
2018-08-10 23:54:06 +03:00
|
|
|
- 4
|
2018-08-28 03:19:09 +03:00
|
|
|
|
2017-12-01 08:25:19 +03:00
|
|
|
before_install:
|
2018-08-28 03:19:09 +03:00
|
|
|
# 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:
|
2018-08-10 23:54:06 +03:00
|
|
|
- cd .travis
|
2018-08-28 03:19:09 +03:00
|
|
|
# pwd: ~/urbit/arvo/.travis
|
|
|
|
- npm install
|
|
|
|
- bash get-or-build-pill.sh
|
2017-12-02 07:51:46 +03:00
|
|
|
# https://github.com/travis-ci/travis-ci/issues/2570
|
2018-11-07 02:49:01 +03:00
|
|
|
- ulimit -c unlimited -S
|
|
|
|
|
|
|
|
script:
|
|
|
|
# || true so we continue
|
|
|
|
- npm run -s test || RESULT=$?
|
|
|
|
- if [[ ${RESULT} -eq 0 ]]; then exit 0; else for i in $(find ./ -maxdepth 1 -name 'core*' -print); do gdb urbit core* -ex "thread apply all bt" -ex "set pagination 0" -batch; done; fi;
|
|
|
|
- echo "build failed with status code $RESULT"
|
|
|
|
- exit $RESULT
|
2018-08-28 03:19:09 +03:00
|
|
|
|
2017-12-02 07:51:46 +03:00
|
|
|
before_deploy: "[ -d piers ] || { mkdir piers && tar cvzSf piers/zod-$TRAVIS_COMMIT.tgz zod/; }"
|
2018-08-28 03:19:09 +03:00
|
|
|
|
|
|
|
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
|
2018-11-07 02:49:01 +03:00
|
|
|
- gdb
|
2018-08-28 03:19:09 +03:00
|
|
|
|
2017-12-01 22:40:47 +03:00
|
|
|
deploy:
|
2017-12-02 06:20:24 +03:00
|
|
|
- skip_cleanup: true
|
|
|
|
provider: gcs
|
2018-08-10 23:54:06 +03:00
|
|
|
access_key_id: GOOGTADOPP55X5ZTH3IKAXQW
|
2017-12-02 06:20:24 +03:00
|
|
|
secret_access_key:
|
2018-08-10 23:54:06 +03:00
|
|
|
secure: lALZvAW22oBMCXafvDOkqKDkdP0K8bGKlSb6uhh54z+2bJu49+5vrfxgA9YLcExGiz8uFttzNYhEoAQEjb96DPHAHvH2iJrwieKltrWM4hLkGuSHVSCBIIm+Qe4BVRSVJPQ1rtO1ausNr0XuzO6BVnKY7NCrz8la2XNjm5+miQdtrJUnrfy2JsM/c/Bkwjj3Tc4op9Ne+7Xzc9DI6LB97XiJx5PgeOx1WeZi9IKQ3IhPBHBzBpBrJ4lWxb4PFvDUqNzSk1wuMGy/sH73IFhGcz3CZRZYbeICDdwmHcUnkdPxG6+RLH+YLhSxx175R+HdaARRQvRANxvY9KNJ11NKmV3Rs9q7fZgWZbrptuB0CDMhfZ/Aiz9tgHGV0UVhYHb8n614fDIKzpXwIy5DPjCKpxPoZRVzABQcdzPTvxnZtZDbarsfdfq0vh9xXNPLGuFYZQnZ6iEpv17qp/2TbeCBSMKIxwIG3LQTwr0a4wKL1T/YIZm6oiN6NycHhMHaczQIRANKw9e7oqbgnXu/WnqHIxyTY2CCvzVOgipRmKKa7jz7CcSoP883XZ9o7WAOnfJY+T4ofpdkzHn1ElNXPjDPpX7CUkowNFH4DZk2Ljwe0CgxPOF6ygnsNrqqs4XoNQaBnHGXMq20Upg6OK9MBmZibtlX9STCeSAt4WudekpEOPU=
|
2017-12-02 06:20:24 +03:00
|
|
|
bucket: ci-piers.urbit.org
|
|
|
|
local-dir: piers/
|
|
|
|
acl: public-read
|
|
|
|
on:
|
|
|
|
repo: urbit/arvo
|
|
|
|
all_branches: true
|
|
|
|
- skip_cleanup: true
|
|
|
|
provider: gcs
|
2018-08-10 23:54:06 +03:00
|
|
|
access_key_id: GOOGTADOPP55X5ZTH3IKAXQW
|
2017-12-02 06:20:24 +03:00
|
|
|
secret_access_key:
|
2018-08-10 23:54:06 +03:00
|
|
|
secure: lALZvAW22oBMCXafvDOkqKDkdP0K8bGKlSb6uhh54z+2bJu49+5vrfxgA9YLcExGiz8uFttzNYhEoAQEjb96DPHAHvH2iJrwieKltrWM4hLkGuSHVSCBIIm+Qe4BVRSVJPQ1rtO1ausNr0XuzO6BVnKY7NCrz8la2XNjm5+miQdtrJUnrfy2JsM/c/Bkwjj3Tc4op9Ne+7Xzc9DI6LB97XiJx5PgeOx1WeZi9IKQ3IhPBHBzBpBrJ4lWxb4PFvDUqNzSk1wuMGy/sH73IFhGcz3CZRZYbeICDdwmHcUnkdPxG6+RLH+YLhSxx175R+HdaARRQvRANxvY9KNJ11NKmV3Rs9q7fZgWZbrptuB0CDMhfZ/Aiz9tgHGV0UVhYHb8n614fDIKzpXwIy5DPjCKpxPoZRVzABQcdzPTvxnZtZDbarsfdfq0vh9xXNPLGuFYZQnZ6iEpv17qp/2TbeCBSMKIxwIG3LQTwr0a4wKL1T/YIZm6oiN6NycHhMHaczQIRANKw9e7oqbgnXu/WnqHIxyTY2CCvzVOgipRmKKa7jz7CcSoP883XZ9o7WAOnfJY+T4ofpdkzHn1ElNXPjDPpX7CUkowNFH4DZk2Ljwe0CgxPOF6ygnsNrqqs4XoNQaBnHGXMq20Upg6OK9MBmZibtlX9STCeSAt4WudekpEOPU=
|
2017-12-02 06:20:24 +03:00
|
|
|
bucket: bootstrap.urbit.org
|
|
|
|
local-dir: built-pill/
|
|
|
|
acl: public-read
|
|
|
|
on:
|
2018-08-10 23:54:06 +03:00
|
|
|
condition: "-d built-pill/"
|
2017-12-02 06:20:24 +03:00
|
|
|
repo: urbit/arvo
|
|
|
|
all_branches: true
|