Skip to content

Commit

Permalink
add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
A.A.Abroskin committed Feb 6, 2019
1 parent cf1bbe8 commit db915bd
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.vscode/
.hookah-local/
.hookah/
hookah-local.yml
hookah.yml
/hookah-local.yml
/hookah.yml

tmp/
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: go

go:
- 1.11.x

notifications:
email: false

before_script:
- sudo apt-get -q install ruby
- gem install bundler
- bundle install

script:
- bundle exec rspec
- go test ./cmd
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# frozen_string_literal: true
source 'https://rubygems.org'

ruby '2.5.3'

gem 'rspec'
5 changes: 0 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
GEM
remote: https://rubygems.org/
specs:
byebug (10.0.2)
diff-lcs (1.3)
rspec (3.8.0)
rspec-core (~> 3.8.0)
Expand All @@ -21,11 +20,7 @@ PLATFORMS
ruby

DEPENDENCIES
byebug
rspec

RUBY VERSION
ruby 2.5.3p105

BUNDLED WITH
2.0.1
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "hookah/cmd"
import "github.com/Arkweid/hookah/cmd"

func main() {
cmd.Execute()
Expand Down
2 changes: 2 additions & 0 deletions spec/fixtures/hookah.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source_dir: ".hookah"
source_dir_local: ".hookah-local"

0 comments on commit db915bd

Please sign in to comment.