Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

build: make CIs available for forks

Alex Chen22ee4151fd31
diff --git a/.appveyor.yml b/.appveyor.yml
index 53b5c50c1..be8fbc171 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -46,4 +46,4 @@ artifacts:
- path: build/*-v*.zip
deploy_script:
-- IF "%APPVEYOR_PULL_REQUEST_NUMBER%" == "" make appveyor_upload
+- IF "%APPVEYOR_REPO_NAME%" == "ncw/rclone" IF "%APPVEYOR_PULL_REQUEST_NUMBER%" == "" make appveyor_upload
diff --git a/.travis.yml b/.travis.yml
index 35dc99837..ec963769f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@ go:
- 1.10.x
- 1.11.x
- tip
+go_import_path: github.com/ncw/rclone
before_install:
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo modprobe fuse ; sudo chmod 666 /dev/fuse ; sudo chown root:$USER /etc/fuse.conf ; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew update && brew tap caskroom/cask && brew cask install osxfuse ; fi
@@ -52,6 +53,7 @@ deploy:
script: make travis_beta
skip_cleanup: true
on:
+ repo: ncw/rclone
all_branches: true
go: 1.11.x
condition: $TRAVIS_PULL_REQUEST == false
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4b18dd46e..4f3a34b00 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -81,6 +81,14 @@ You patch will get reviewed and you might get asked to fix some stuff.
If so, then make the changes in the same branch, squash the commits,
rebase it to master then push it to Github with `--force`.
+## Enabling CI for your fork ##
+
+The CI config files for rclone have taken care of forks of the project, so you can enable CI for your fork repo easily.
+
+rclone currently uses [Travis CI](https://travis-ci.org/), [AppVeyor](https://ci.appveyor.com/), and
+[Circle CI](https://circleci.com/) to build the project. To enable them for your fork, simply go into their
+websites, find your fork of rclone, and enable building there.
+
## Testing ##
rclone's tests are run from the go testing framework, so at the top