diff --git a/.travis.yml b/.travis.yml index 3d61f7c..24b00c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,11 @@ matrix: - php: nightly fast_finish: true +branches: + only: + - master + - develop + install: - curl -s http://getcomposer.org/installer | php - php composer.phar install --dev --no-interaction $COMPOSER_FLAGS diff --git a/tests/Implementation/EloquentModel.php b/tests/Implementation/EloquentModel.php new file mode 100644 index 0000000..3736b6d --- /dev/null +++ b/tests/Implementation/EloquentModel.php @@ -0,0 +1,11 @@ +id(); + $table->string('name'); + $table->string('email')->unique(); + $table->timestamp('email_verified_at')->nullable(); + $table->string('password'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('eloquent_models'); + } +}