2019-12-12 06:59:45 +03:00
|
|
|
jobs:
|
|
|
|
include:
|
2019-12-12 08:07:05 +03:00
|
|
|
- os: linux
|
|
|
|
language: nix
|
2020-06-11 23:52:15 +03:00
|
|
|
nix: 2.3.6
|
2019-12-12 09:40:57 +03:00
|
|
|
before_install:
|
|
|
|
- git lfs pull
|
2019-12-12 08:07:05 +03:00
|
|
|
install:
|
2019-12-12 10:24:10 +03:00
|
|
|
- nix-env -iA cachix -f https://cachix.org/api/v1/install
|
2019-12-12 08:07:05 +03:00
|
|
|
script:
|
|
|
|
- cachix use urbit2
|
2019-12-12 10:47:54 +03:00
|
|
|
- ./sh/cachix
|
2019-12-19 19:11:59 +03:00
|
|
|
- make build
|
2019-12-12 10:47:54 +03:00
|
|
|
- make release
|
|
|
|
- sh/ci-tests
|
2019-12-12 07:08:54 +03:00
|
|
|
|
2020-06-11 23:52:15 +03:00
|
|
|
- os: linux
|
|
|
|
language: generic
|
|
|
|
env: STACK_YAML=pkg/hs/stack.yaml
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.ghc
|
|
|
|
- $HOME/.cabal
|
|
|
|
- $HOME/.stack
|
|
|
|
- $TRAVIS_BUILD_DIR/.stack-work
|
|
|
|
before_install:
|
|
|
|
- sh/travis-install-stack
|
|
|
|
install:
|
|
|
|
- stack --no-terminal --install-ghc build urbit-king --only-dependencies
|
|
|
|
script:
|
|
|
|
- stack test
|
|
|
|
- sh/release-king-linux64-dynamic
|
|
|
|
|
2019-12-12 06:59:45 +03:00
|
|
|
- os: osx
|
|
|
|
language: generic
|
|
|
|
sudo: required
|
2019-12-19 19:11:59 +03:00
|
|
|
env: STACK_YAML=pkg/hs/stack.yaml
|
2020-06-11 23:52:15 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.ghc
|
|
|
|
- $HOME/.cabal
|
|
|
|
- $HOME/.stack
|
|
|
|
- $TRAVIS_BUILD_DIR/.stack-work
|
2019-12-12 08:43:23 +03:00
|
|
|
before_install:
|
|
|
|
- sh/travis-install-stack
|
|
|
|
install:
|
2020-01-24 08:34:21 +03:00
|
|
|
- stack --no-terminal --install-ghc build urbit-king --only-dependencies
|
2019-12-12 06:59:45 +03:00
|
|
|
script:
|
2020-06-11 23:52:15 +03:00
|
|
|
- stack test
|
2019-12-19 19:11:59 +03:00
|
|
|
- sh/release-king-darwin-dynamic
|
2019-12-12 06:38:01 +03:00
|
|
|
|
2019-12-11 10:39:52 +03:00
|
|
|
deploy:
|
|
|
|
- skip_cleanup: true
|
|
|
|
provider: gcs
|
|
|
|
access_key_id: GOOGTADOPP55X5ZTH3IKAXQW
|
|
|
|
secret_access_key:
|
|
|
|
secure: rSPif0VHX3Q3QpWM9iUt/Z9sicCY8ABuwVFPeT3YUnAAmSXM46PIHKieoGs79kx9IelFyQsM8xS0XWyt4S/haR7VaTJY+zHJjf0AnA1sr5ZIV70t3K0SXzq4+E1ffOZRiC0VmHatPz10wjaIpHxpjcROqQV4M1dBCq2H/rpccIE=
|
|
|
|
bucket: bootstrap.urbit.org
|
|
|
|
local-dir: release/
|
|
|
|
acl: public-read
|
|
|
|
on:
|
|
|
|
condition: "-d release/"
|
|
|
|
repo: urbit/urbit
|
|
|
|
all_branches: true
|