Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check is the codes is formated in travis ci #864

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ before_script:
- psql -c 'create database goby_test;' -U postgres

script:
- diff -u <(echo -n) <(gofmt -d ./)
- ./travis.sh

env:
Expand Down
4 changes: 2 additions & 2 deletions compiler/bytecode/statement_generation.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ func (g *Generator) compileDefStmt(is *InstructionSet, stmt *ast.DefStatement, s

// compile method definition's content
newIS := &InstructionSet{
name: stmt.Name.Value,
isType: MethodDef,
name: stmt.Name.Value,
isType: MethodDef,
argTypes: initArgSet(len(stmt.Parameters)),
}

Expand Down
2 changes: 1 addition & 1 deletion native/ripper/ripper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ end
}
]
`,
},
},
// Single class definition
{`require 'ripper'; Ripper.instruction("
class Foo
Expand Down
9 changes: 0 additions & 9 deletions vendor/github.com/chzyer/readline/.travis.yml

This file was deleted.

58 changes: 0 additions & 58 deletions vendor/github.com/chzyer/readline/CHANGELOG.md

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/github.com/chzyer/readline/LICENSE

This file was deleted.

114 changes: 0 additions & 114 deletions vendor/github.com/chzyer/readline/README.md

This file was deleted.

Loading