minor cleanup
This commit is contained in:
parent
4562b0bf99
commit
d4e572a2b6
7 changed files with 12 additions and 53 deletions
13
.gitignore
vendored
13
.gitignore
vendored
|
@ -1,6 +1,13 @@
|
|||
node_modules
|
||||
LBRY-darwin-x64
|
||||
dist
|
||||
/node_modules
|
||||
/LBRY-darwin-x64
|
||||
/dist
|
||||
|
||||
/ui/dist/css/*
|
||||
/ui/dist/js/*
|
||||
!/ui/dist/js/mediaelement
|
||||
/ui/node_modules
|
||||
/ui/.sass-cache
|
||||
|
||||
|
||||
/app/dist
|
||||
/app/node_modules
|
||||
|
|
|
@ -9,6 +9,8 @@ matrix:
|
|||
|
||||
|
||||
install:
|
||||
- rvm install 2.3.1
|
||||
- rvm use 2.3.1 && gem install danger --version '~> 4.0' && danger
|
||||
- wget https://www.python.org/ftp/python/2.7.13/python-2.7.13-macosx10.6.pkg
|
||||
- sudo installer -pkg python-2.7.13-macosx10.6.pkg -target /
|
||||
- pip install -U pip
|
||||
|
|
7
ui/.gitignore
vendored
7
ui/.gitignore
vendored
|
@ -1,7 +0,0 @@
|
|||
dist/css/*
|
||||
dist/js/*
|
||||
!dist/js/mediaelement
|
||||
node_modules
|
||||
.sass-cache
|
||||
.idea
|
||||
.DS_Store
|
|
@ -1,35 +0,0 @@
|
|||
language: node_js
|
||||
node_js: 5
|
||||
|
||||
# note that travis still builds PRs so that covers
|
||||
# other branches
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- development
|
||||
|
||||
install:
|
||||
- rvm install 2.3.1
|
||||
- npm install
|
||||
|
||||
script:
|
||||
- rvm use 2.3.1 && gem install danger --version '~> 4.0' && danger
|
||||
- mkdir -p dist/css dist/js
|
||||
- node_modules/.bin/node-sass scss/all.scss dist/css/all.css
|
||||
- node_modules/.bin/webpack
|
||||
- mkdir upload
|
||||
- cd dist; zip -r ../upload/dist.zip *; cd -
|
||||
- .travis/echo_sha.sh > upload/data.json
|
||||
|
||||
deploy:
|
||||
provider: s3
|
||||
access_key_id:
|
||||
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8CiL/y+sOpB8ia0CjO3WBebIUWQAhyswQb312rYsbfQXscb5TnheS+wo4Z1MLse7fSm6jzZRZwqGi27GxC7SFWkSkBwHgaQ8tA7mzsdi6DFmz/KrnwgzqzFRkGg9d0RNXVfUN09p0GJr9drVS1DscVYWGhhD1eDKAIEaEd89u0vKF83zLk73UuNVZA38kkERtLwv7Yr1rRdftL3/gt6fMiW//JQB9sRWV0fDfiWbV2vaki6c/0s6moX00UBuZq21FEpx8puylUOwkXNlQK6TH/bw41ikrRMO156njokYOwLgQaebI/Mb0Cwi32gOU="
|
||||
bucket: lbry-ui
|
||||
skip_cleanup: true
|
||||
upload-dir: ${TRAVIS_BRANCH}
|
||||
local_dir: upload
|
||||
on:
|
||||
all_branches: true
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# this is a script instead of a line in the travis.yml
|
||||
# getting the quoting on this correctly inside the yaml is
|
||||
# unreadable and difficult
|
||||
|
||||
echo '{"sha": "'${TRAVIS_COMMIT}'"}'
|
|
@ -1 +0,0 @@
|
|||
See https://github.com/lbryio/lbry/blob/master/LICENSE
|
Loading…
Reference in a new issue