Backend: Makefile Targets For 'deployment' and 'travis'

* Set build server to use `make deployment`

* Create Makefile target for 'deployment' to update dependencies if
  necessary

* Set Travis CI to run `make travis`

* Create Makefile target for 'travis' to use additional automation logic
This commit is contained in:
David A. Harding 2015-04-12 10:00:40 -04:00
parent ca7b97134d
commit 6a42d7b861
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
4 changed files with 42 additions and 7 deletions

View file

@ -49,7 +49,7 @@ lasttime=`stat -c %Y "$SITEDIR/_buildlock" | cut -d ' ' -f1`
# Build website in a child process
(
cd $WORKDIR
make valid && touch "$WORKDIR/_builddone" || touch "$WORKDIR/_buildfail"
make deployment && touch "$WORKDIR/_builddone" || touch "$WORKDIR/_buildfail"
)&
# Loop every 1 second to check status