This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
36 lines (36 loc) · 1.51 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
dist: trusty
language: nix
script:
- ls
- mkdir peer-chat
- shopt -s extglob
- mv !(peer-chat) peer-chat
- ls
- cd peer-chat
- cd ..
- ls
- git clone https://github.com/holochain/identity-manager.git
- cd identity-manager
- nix-shell --run 'npm run hc:build'
- cd ..
- cd peer-chat
- nix-shell --run 'cd ui-src && npm install && npm run test && cd .. && npm run prerelease'
- PACKAGE_NAME=$(node -p -e "require('./package.json').name")
- PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
- cd release/ui
- ls
- zip -r $PACKAGE_NAME-$PACKAGE_VERSION.zip *
- cd ..
deploy:
provider: releases
api_key:
secure: aGVJa0b6qCYKdrACDbUwoizQxPGiLjElyLsbiXmCOOazBanbixQKdTIZHehigW2DHGXLXJTf6yNGUiEagQm9OJE3ijRZ2Rwebqfx+3OwQNbXv0FJSZEp9rZIBe2nv4tKko3yrwBDXG8EIioP3CGHmDH4kmkYxQ2rMrc2MRMtz70jqEi1cyPWJ1K7qjOVT91qpfcAD8DL4hO8yhULnxfoBHdsDmV2xXL+z2ILKL5EU95KTnpnuYwJDZdqul+oHY3aOLMX38tOupxGSYrJZCIQyB8n4HgHEZiIO8BdyxD0Dh9PShbigTARYwUJtU5U0mQo0DOJi6ipDeXOoaxZqmUGLJ8ysfOVqba/7VHZiDSwDhYgU4/rRkH4VJTRP8rP/uw6CpNYjcUM7Kz9CQChwHdmYWxnavPbtEQ0Wx6AbgFcIZ0rVii9y15MaFtKHzAmk4oqP4rUOzrsmRIltX1ZWfKA3hoW9Be5clnpPXDKvW0dtedw3WGRINd8g0zPGE1UxJEaefPvfd4OB0NfWJb2LHxRlxe2fijaEzLGoM9OpNULhMEqi7wecwPICJwRrsGHTHV3eufqwNTCBH0pqKfqJjlf4yESnIZkuixL5l5epQJpBL3r75X50wfwUbr49630ji5PBNvs73Oq9qzConldn+zTWNglJcjg5gpMy1sNOTg0H1g=
file:
- "ui/$PACKAGE_NAME-$PACKAGE_VERSION.zip"
- "dna/peer-chat.dna.json"
- "../identity-manager/dna/personas-profiles.dna.json"
skip_cleanup: true
on:
tags: true
branch: master
name: $TRAVIS_TAG