Copied over (with permissions) from http://runnable.com/VAhURy7PJS8iDnUr/plexer-for-codeship-for-node-js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
virtualenv -p `which python3` ~/.python3_venv | |
. ~/.python3_venv/bin/activate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# assumes a clean install on a fresh linux box. | |
# for use w/ codeship.io | |
set -e | |
set -u | |
# a reference to the cloned repository's path | |
PWD=`pwd` | |
METEOR_APP_PATH="$PWD/MeteorApp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
VERSION="2.1.4" | |
PWD=`pwd` | |
cd ~/ | |
wget -O neo4j-community.tar.gz http://neo4j.com/artifact.php?name=neo4j-community-${VERSION}-unix.tar.gz | |
tar -xzf neo4j-community.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PHP_VERSION="5.6" | |
PHALCON_VERSION="1.3.2" | |
PWD=`pwd` | |
cd ~ | |
rm -rf ~/cphalcon | |
phpenv global $PHP_VERSION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script is used to deploy a Meteor 0.9 project to Modulus.io hosting using CodeShip. | |
# Install Meteor. | |
curl https://install.meteor.com > ./install_meteor | |
sed -i'' -e 's/PREFIX=.*/PREFIX="$HOME"/g' ./install_meteor | |
chmod u+x ./install_meteor | |
./install_meteor | |
# Install Modulus. | |
npm install -g modulus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Allows using Gradle 2.1 with http://codeship.io | |
GRADLE=gradle-2.1-bin | |
GRADLE_URL="https://services.gradle.org/distributions/$GRADLE.zip" | |
wget -N $GRADLE_URL | |
mkdir -p ~/gradle | |
unzip $GRADLE.zip -d ~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# go to https://www.dartlang.org/tools/download_archive/ and choose | |
# the revision you want to download. use "latest" to always grab the | |
# latest stable version. | |
REV="latest" | |
wget https://storage.googleapis.com/dart-archive/channels/stable/release/${REV}/sdk/dartsdk-linux-x64-release.zip | |
unzip -o dartsdk-linux-x64-release.zip -d ~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
branch_name=$(git symbolic-ref --short HEAD) | |
if [ "$branch_name" == 'dev' ] || [ "$branch_name" == 'staging' ] | |
then | |
git commit --allow-empty -m 'empty commit to trigger deployment' | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install hg-git | |
echo "[extensions]" >> ~/.hgrc | |
echo "hgext.bookmarks =" >> ~/.hgrc | |
echo "hggit =" >> ~/.hgrc | |
echo "[alias]" >> ~/.hgrc | |
echo "push-heroku = push git+ssh://[email protected]/app.git" >> ~/.hgrc | |
PYTHONPATH=$(dirname $(which python))/../lib/python2.7/site-packages/ | |
hg push-heroku | |
check_url "http://app.herokuapp.com" |