Skip to content

Commit

Permalink
Makes travis run flow def tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wokalski committed Dec 4, 2016
1 parent 61b02e8 commit d2fa889
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"estraverse": "1.9.3",
"express": "^4.13.4",
"fbjs-scripts": "^0.5.0",
"flow-bin": "^0.36.0",
"grunt": "0.4.5",
"grunt-cli": "0.1.13",
"grunt-contrib-clean": "0.7.0",
Expand Down
7 changes: 7 additions & 0 deletions test_type_defs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -o errexit

npm install
cd type-definitions/tests
../../node_modules/flow-bin/cli.js

3 changes: 3 additions & 0 deletions type-definitions/tests/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
[options]
suppress_comment=^\\( \\|\n\\)*\\$ExpectError\\(([^)]*)\\)?$

[version]
^0.36.0

0 comments on commit d2fa889

Please sign in to comment.