Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Subscriptions GitHub Repo URL #227

Merged
merged 5 commits into from
Dec 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions tests/bin/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ say() {
}

if [ $1 == 'before' ]; then

# place a copy of woocommerce where the unit tests etc. expect it to be
mkdir -p "../woocommerce"
curl -L https://api.github.com/repos/woothemes/woocommerce/tarball/$WC_VERSION?access_token=$GITHUB_TOKEN --silent | tar --strip-components=1 -zx -C "../woocommerce"

say "WooCommerce Installed"

# place a copy of woocommerce subscriptions where the unit tests etc. expect it to be - needs to be a repo with the test dir
git clone https://[email protected]/Prospress/woocommerce-subscriptions.git "../woocommerce-subscriptions" -b $WCS_VERSION

# Install WooCommerce Subscriptions.
git clone https://[email protected]/woocommerce/woocommerce-subscriptions.git "../woocommerce-subscriptions" --branch $WCS_VERSION
say "WooCommerce Subscriptions Installed"

fi
fi