mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Merge pull request #27 from github/ci
Use travis for ci to verify builds work before merging
This commit is contained in:
commit
51b7f0e401
8
.travis.yml
Normal file
8
.travis.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#bootstrap and build
|
||||||
|
before_script: "./script/bootstrap"
|
||||||
|
script: "./script/cibuild"
|
||||||
|
|
||||||
|
#environment
|
||||||
|
language: ruby
|
||||||
|
rvm:
|
||||||
|
- 1.9.3
|
@ -3,6 +3,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "bundling installin'"
|
echo "bundling installin'"
|
||||||
|
gem install bundler
|
||||||
bundle install
|
bundle install
|
||||||
|
|
||||||
echo "npm installin'"
|
echo "npm installin'"
|
||||||
|
9
script/cibuild
Executable file
9
script/cibuild
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "compiling javascript..."
|
||||||
|
./node_modules/.bin/coffee -c javascripts/app.coffee
|
||||||
|
|
||||||
|
echo "building the site..."
|
||||||
|
bundle exec jekyll build --trace
|
Loading…
x
Reference in New Issue
Block a user