2015-03-11 02:11:28 +00:00
|
|
|
language: objective-c
|
2015-03-18 04:12:13 +00:00
|
|
|
before_install:
|
|
|
|
- brew update
|
|
|
|
- brew reinstall xctool
|
2015-03-11 02:11:28 +00:00
|
|
|
install:
|
2015-03-20 21:52:23 +00:00
|
|
|
- brew install watchman
|
2015-03-11 02:11:28 +00:00
|
|
|
- npm install
|
2015-03-20 21:34:34 +00:00
|
|
|
before_script:
|
2015-03-11 02:11:28 +00:00
|
|
|
- npm test
|
2015-03-20 21:34:34 +00:00
|
|
|
- (npm start > packager.log 2>&1 &) && echo $! > packager.pid
|
|
|
|
|
|
|
|
after_script:
|
2015-03-20 22:05:54 +00:00
|
|
|
- pkill -9 -F packager.pid
|
2015-03-20 21:34:34 +00:00
|
|
|
- cat packager.log
|
|
|
|
- rm packager.log
|
|
|
|
- rm packager.pid
|
|
|
|
|
2015-03-18 04:12:13 +00:00
|
|
|
# Automatically publish the website
|
|
|
|
after_success: '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && (cd website; npm install; ./setup.sh; ./publish.sh; echo) || echo'
|
2015-03-20 21:34:34 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
- secure: "g8Xjbslq4R+3oLVgBvXM5QhiJ+7q+H+dH4+sXReyyZ64M5gf32U7oOjQNVkdx79dnGFc6a619otGsX4RiEkQlkiR+4uCgJUIgPwN4YFCIgYu4Z/0FnbbRu5yyywh5zv4WwGmAtMkgGztoMBnps5gCiPUM/RGIqwVk0Ghbmh5c2k="
|
|
|
|
|
2015-03-16 01:46:48 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|