diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d06d900 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +before_install: + - ./bootstrap.sh +sudo: required +language: ruby +rvm: + - "2.0" + - "2.1" + - "2.2" + +script: SPEC_ALL=true bundle exec rspec spec diff --git a/README.md b/README.md index 13d5847..4f6af6a 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ +[![Build Status](https://travis-ci.org/tawan/active-elastic-job.svg)](https://travis-ci.org/tawan/active-elastic-job) # active-elastic-job diff --git a/bootstrap.sh b/bootstrap.sh old mode 100644 new mode 100755 index 93013d4..3898c4f --- a/bootstrap.sh +++ b/bootstrap.sh @@ -58,8 +58,5 @@ install nodejs nodejs install python-dev python-dev curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" python get-pip.py -pip install awsebcli - -install zip zip - -update-locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 +#pip install --upgrade pip +sudo pip install awsebcli diff --git a/spec/integration/rails-app/.elasticbeanstalk/config.yml b/spec/integration/rails-app/.elasticbeanstalk/config.yml new file mode 100644 index 0000000..7a6e438 --- /dev/null +++ b/spec/integration/rails-app/.elasticbeanstalk/config.yml @@ -0,0 +1,10 @@ +branch-defaults: + default: + environment: web-env + group_suffix: null +global: + application_name: rails-eb-job-integration-testing + default_ec2_keyname: null + default_platform: Ruby 2.2 (Passenger Standalone) + default_region: eu-central-1 + sc: null