Skip to content

Commit

Permalink
Run flow on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiebits committed Apr 3, 2015
1 parent c760ca9 commit fb7dcdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ language: objective-c
before_install:
- brew update
install:
- brew reinstall xctool watchman
- brew reinstall flow watchman xctool
- npm install

script:
- |
set -e
if [ "$TEST_TYPE" = objc ]
then
Expand All @@ -25,6 +27,7 @@ script:
elif [ "$TEST_TYPE" = js ]
then
flow check
npm test
elif [ "$TEST_TYPE" = build_website ]
Expand Down
2 changes: 1 addition & 1 deletion Libraries/ActionSheetIOS/ActionSheetIOS.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var RCTActionSheetManager = require('NativeModules').ActionSheetManager;
var invariant = require('invariant');

var ActionSheetIOS = {
showActionSheetWithOptions(options: Object, callback: Function) {
showActionSheetWithOptions(options: bject, callback: Function) {
invariant(
typeof options === 'object' && options !== null,
'Options must a valid object'
Expand Down

0 comments on commit fb7dcdb

Please sign in to comment.