Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
22279c3
Change node version to 4.0
ProjectFrank Sep 18, 2015
1800a1d
Try teardown: pre:
ProjectFrank Sep 18, 2015
3415895
Try setting XCODE_SCHEME
ProjectFrank Sep 18, 2015
5733a11
Install docker 1.8.1
ProjectFrank Sep 21, 2015
3141fda
Remove xcode scheme env var
ProjectFrank Sep 23, 2015
ab55edd
Revert "Remove xcode scheme env var"
ProjectFrank Sep 23, 2015
8f9f46e
Revert "Revert "Remove xcode scheme env var""
ProjectFrank Sep 23, 2015
5437f21
Try globstar
ProjectFrank Sep 24, 2015
d8fccf4
Fix globstar
ProjectFrank Sep 24, 2015
35b8f73
Try regular asterisk
ProjectFrank Sep 24, 2015
dfc0b9f
Add offensive colon
ProjectFrank Sep 29, 2015
83888e0
Try to fix offensive colon
ProjectFrank Sep 29, 2015
f24cbbc
Try unescaping colon
ProjectFrank Sep 29, 2015
5eff333
Try unescaping colon again
ProjectFrank Sep 29, 2015
aaa6c29
Try escaping colon only
ProjectFrank Sep 29, 2015
9c7dc1c
Find out machine: pre: dir
ProjectFrank Sep 29, 2015
6562f53
Remove offensive colon
ProjectFrank Sep 29, 2015
e7aa40b
Add a build step
ProjectFrank Sep 29, 2015
208eb77
Try compile step
ProjectFrank Oct 1, 2015
1abe402
Fix compile
ProjectFrank Oct 1, 2015
4bb7306
Match all tags
ProjectFrank Oct 2, 2015
a352d7b
Test phantomjs install steps
ProjectFrank Oct 19, 2015
09b81db
Try echoing UI env var
ProjectFrank Oct 21, 2015
b3cd2cc
Test foo env var
ProjectFrank Oct 21, 2015
d367523
try npm adduser
ProjectFrank Oct 21, 2015
5c06aec
Check machine post pwd
ProjectFrank Oct 22, 2015
49681e7
Try installing sbt 13.9
ProjectFrank Oct 30, 2015
3a0cf4b
Remove npm and phantomjs stuff
ProjectFrank Oct 30, 2015
c8af884
Remove commented out stuff and wget sbt
ProjectFrank Oct 30, 2015
9934285
Comment out wget command
ProjectFrank Oct 30, 2015
6cd3c19
Add the wget back
ProjectFrank Oct 30, 2015
127fea0
Remove sbt stuff
ProjectFrank Nov 2, 2015
d56a685
noop
ProjectFrank Nov 2, 2015
f648f20
noop
ProjectFrank Nov 2, 2015
7e89dff
Test webhook
ProjectFrank Nov 2, 2015
010132d
Test invalid URL for webhook
ProjectFrank Nov 2, 2015
9057f5e
Try inline comment
ProjectFrank Nov 3, 2015
7b8901c
Install phantomjs 2.0.1
ProjectFrank Nov 6, 2015
aef1439
Try jruby 1.7.16
ProjectFrank Nov 9, 2015
be4d546
Try compiling php with freetype2
ProjectFrank Nov 9, 2015
cf65a00
Fix typo
ProjectFrank Nov 9, 2015
31ca945
Add php test
ProjectFrank Nov 9, 2015
ccfb8d7
Try machine pre instead
ProjectFrank Nov 9, 2015
cd94d0a
Add correct php test path
ProjectFrank Nov 9, 2015
a8f0104
Try using existing vars in environment
ProjectFrank Nov 12, 2015
1faefc8
Try enabling redis through circle.yml
ProjectFrank Nov 25, 2015
ac1babb
Try weird node syntax
ProjectFrank Nov 30, 2015
0a9eb14
Comment out php compile stuff
ProjectFrank Nov 30, 2015
5e29f30
Try installing node clean
ProjectFrank Nov 30, 2015
95c51b2
Try nvm reinstall
ProjectFrank Nov 30, 2015
e3c283e
Try git describe tags
ProjectFrank Nov 30, 2015
f5aa09d
Try node 4.1.0
ProjectFrank Dec 4, 2015
89b5124
Try docker 1.6.2
ProjectFrank Dec 4, 2015
117d29c
Try php7
ProjectFrank Dec 4, 2015
a387f54
Try deploy lock recipe
ProjectFrank Dec 10, 2015
fc70690
Try node 4.2.0
ProjectFrank Dec 12, 2015
5c33e0a
Try adding mysql 5.6
ProjectFrank Dec 16, 2015
d8ab5cf
Try npm login
ProjectFrank Dec 18, 2015
b73dfed
Try npm login without pipe
ProjectFrank Dec 18, 2015
dce0e9b
See if test post runs
ProjectFrank Dec 18, 2015
408684f
Try something funky
ProjectFrank Jan 8, 2016
202296f
Check machine post pwd
ProjectFrank Jan 8, 2016
a2a4e2b
Test wildcards in cache_directories
ProjectFrank Jan 8, 2016
fa596c6
Try specifying node version as stable
ProjectFrank Jan 12, 2016
d34256f
Check checkout: post: pwd
ProjectFrank Jan 19, 2016
7bfbbdb
Attempt to clear source cache
ProjectFrank Jan 19, 2016
ffda211
Try logging commits since last successful build
ProjectFrank Jan 19, 2016
d2fd352
Check curl output
ProjectFrank Jan 19, 2016
0dc0a61
Try node 4.2.4
ProjectFrank Jan 19, 2016
f7f9403
Try weird env var
ProjectFrank Jan 26, 2016
57776da
Change node version for no reason
ProjectFrank Jan 27, 2016
0bc1f6e
Try fetch unshallow thing
ProjectFrank Jan 27, 2016
331a1ae
Try customer node and python versions
ProjectFrank Jan 27, 2016
e060549
Remove slow python version
ProjectFrank Feb 2, 2016
9d8e8ba
Try git fetch thing
ProjectFrank Feb 2, 2016
3a48900
Try weird yaml escaping
ProjectFrank Feb 2, 2016
6120767
Try ruby 2.3
ProjectFrank Feb 2, 2016
b33faa3
see if heroku update persists
ProjectFrank Feb 9, 2016
adba376
Try adding to PATH
ProjectFrank Feb 10, 2016
9952bf6
Try if statement
ProjectFrank Feb 11, 2016
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
95 changes: 48 additions & 47 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,55 @@
# machine:
# environment:
# PATH: ~/.m2/apache-maven-3.3.3/bin:$PATH
# SHORT_SHA1: |
# $(echo $CIRCLE_SHA1 | cut -c1-4)
# post:
# - echo $SHORT_SHA1
# - cd $CIRCLE_PROJECT_REPONAME && git describe --abbrev=0 --tags
# - echo $PREVIOUS_SHA1
# pre:
# - case $CIRCLE_BRANCH in stupid-branch) echo "export thing=\"stuff\"" >> .circlerc;; esac;
# - echo $thing
# - sudo apt-get update; sudo apt-get install jq
# - |
# PREVIOUS_SHA1=$(curl --header "Accept:application/json" https://circleci.com/api/v1/project/ProjectFrank/circleci-test/tree/stupid-branch | jq '.[0].vcs_revision' | tr -d '\"'); echo "export PREVIOUS_SHA1=$PREVIOUS_SHA1" >> ~/.circlerc
# # - sudo sed -i '/ulimit -l unlimited/d' /etc/init.d/cassandra
# # - sudo sed -i '/ulimit -n "$FD_LIMIT"/d' /etc/init.d/cassandra
# - |
# echo "stuff
# more
# stuff"
# services:
# - cassandra
# node:
# version: 0.12.0
machine:
node:
version: 4.1


test:
override:
- echo "no tests"
post:
- echo "post"

# deployment:
# allthethings:
# tag: /release\/.*/
# commands:
# - echo "all the things":
# parallel: true

dependencies:
# cache_directories:
# - ~/go1.5.linux-amd64.tar.gz
# - ~/.rvm/rubies/ruby-2.2.3
override:
- echo "no deps"

deployment:
tomaster:
branch: stupid-branch
allthethings:
branch: /.*/
commands:
- ::wait-for-deploy-lock
- sleep 120
- echo "deployment"

compile:
override:
- echo stuff

teardown:
pre:
- echo "stuff"

notify:
webhooks:
- url: http://requestb.in/notvalid

checkout:
post:
- pwd

machine:
environment:
DYLD_LIBRARY_PATH: /Applications/Xcode-7.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib:$(DYLD_LIBRARY_PATH)
PATH: ~/bin:$PATH
node:
version: 4.2.6
pre:
- |
curl -H "accept: application/json" https://circleci.com/api/v1/project/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/tree/$CIRCLE_BRANCH\?limit\=100\&circle-token\=$CIRCLE_TOKEN
# Log all commits since last commit in last successful build
- |
cd $CIRCLE_PROJECT_REPONAME && git log `echo $(curl -H "accept: application/json" https://circleci.com/api/v1/project/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/tree/$CIRCLE_BRANCH\?limit\=100\?circle-token\=$CIRCLE_TOKEN | jq '[.[] | select(.status=="success" or .status=="fixed") | .all_commit_details[-1].commit][0]') | sed -e 's/^"//' -e 's/"$//'`..HEAD | cat | tee changelog.txt
- |
if [ [ $CIRCLE_BRANCH == 'master' ] && [ `git name-rev --name-only HEAD` != 'master' ] ];
then git branch -d `git name-rev --name-only HEAD`;
fi
post:
- npm -v
dependencies:
pre:
- git rev-parse --git-dir
- "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || (git fetch --unshallow --tags; echo \"ran git fetch\")"
override:
- echo "nothing"
- sudo apt-get update; sudo apt-get install heroku-toolbelt
- heroku update
28 changes: 28 additions & 0 deletions test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
// Set the content-type
header('Content-Type: image/png');

// Create the image
$im = imagecreatetruecolor(400, 30);

// Create some colors
$white = imagecolorallocate($im, 255, 255, 255);
$grey = imagecolorallocate($im, 128, 128, 128);
$black = imagecolorallocate($im, 0, 0, 0);
imagefilledrectangle($im, 0, 0, 399, 29, $white);

// The text to draw
$text = 'Testing...';
// Replace path by your own font path
$font = 'arial.ttf';

// Add some shadow to the text
imagettftext($im, 20, 0, 11, 21, $grey, $font, $text);

// Add the text
imagettftext($im, 20, 0, 10, 20, $black, $font, $text);

// Using imagepng() results in clearer text compared with imagejpeg()
imagepng($im);
imagedestroy($im);
?>