Commit Graph

36 Commits

Author SHA1 Message Date
Pascal Hartig
783f6134b1 Build against NDK 20 in Travis (#534)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/534

Per title

Reviewed By: jknoxville

Differential Revision: D17161793

fbshipit-source-id: 6d239f9458530290f2f04e5cd165d663a2363cef
2019-09-04 04:44:49 -07:00
Pascal Hartig
f548844df5 Extend travis_wait time (#528)
Summary:
Sigh ... https://travis-ci.com/facebook/flipper/jobs/228611726
Pull Request resolved: https://github.com/facebook/flipper/pull/528

Reviewed By: danielbuechele

Differential Revision: D17075766

Pulled By: passy

fbshipit-source-id: c26ac08e25c9a537d2a62ac02da74d0ae1094b42
2019-08-28 02:18:22 -07:00
Pascal Hartig
f824329151 Upgrade to Node 11 in Travis (#525)
Summary:
I hope this fixes the obnoxious libuv IO error we see quite often.
Pull Request resolved: https://github.com/facebook/flipper/pull/525

Test Plan: Travis

Reviewed By: priteshrnandgaonkar

Differential Revision: D16984266

Pulled By: passy

fbshipit-source-id: 3e4c6ccd1f3e92a08875f7770202d8909e446ac8
2019-08-23 05:58:18 -07:00
Pritesh Nandgaonkar
6056e85f5d Update installation instruction for CP 1.7+ (#522)
Summary:
This PR updates the installation instruction for Cocoapods 1.7+ as the previous installation instruction was broken for the latest Cocoapods version

Solves https://github.com/facebook/flipper/issues/478 and https://github.com/facebook/flipper/issues/495

## Changelog

- Updated the Documentation
- Updated the sample app
Pull Request resolved: https://github.com/facebook/flipper/pull/522

Test Plan:
- Travis CI
- Also tested locally by building sample app.

Reviewed By: jknoxville

Differential Revision: D16902023

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 19cc01c842f93ab3565c302f8258ca88dbdecfb2
2019-08-20 07:02:18 -07:00
Pascal Hartig
43a3c33347 Travis wait (#506)
Summary:
Depends on https://github.com/facebook/flipper/issues/505.

The test case there works for the JS part but times out during the XCode build. This gives us a bit more time.
Pull Request resolved: https://github.com/facebook/flipper/pull/506

Reviewed By: priteshrnandgaonkar

Differential Revision: D16561461

Pulled By: passy

fbshipit-source-id: 15cc18b8c57732ef73a874256305542d439b3d2c
2019-07-31 01:44:58 -07:00
Pascal Hartig
9c2ae7632c Bump node in Travis to 11 (#505)
Summary:
Attempt to fix the spurious failed assertions coming from libuv in Travis.
Pull Request resolved: https://github.com/facebook/flipper/pull/505

Reviewed By: priteshrnandgaonkar

Differential Revision: D16561381

Pulled By: passy

fbshipit-source-id: 4b30e9cadc37071404ec0198f96b7cd20761325a
2019-07-31 01:44:58 -07:00
Pascal Hartig
0c862e1e12 Force trusty for Android builds (#503)
Summary:
The Android build is currently broken and this coincided with the switch from `trusty` to `xenial`.

![Screenshot 2019-07-29 15 58 46](https://user-images.githubusercontent.com/9906/62058727-c923bd80-b219-11e9-8edd-231bc700dda3.png)
(green build)

![Screenshot 2019-07-29 15 58 52](https://user-images.githubusercontent.com/9906/62058731-ca54ea80-b219-11e9-8773-29f3ff412bde.png)
(red build)

It looks like Travis messed up their provisioning profiles and is shipping non-Android images for Android build tasks. Not cool.

https://travis-ci.org/facebook/flipper/jobs/564982262
Pull Request resolved: https://github.com/facebook/flipper/pull/503

Reviewed By: danielbuechele

Differential Revision: D16542462

Pulled By: passy

fbshipit-source-id: 99878f623d912e4b9a2b72953ca479fcc6e55adf
2019-07-29 09:49:45 -07:00
Pascal Hartig
3af9e889f4 Enable cocoapods caching (#491)
Summary:
Enable caching for cocoapods.

This was my attempt to fix the test which priteshrnandgaonkar did with https://github.com/facebook/flipper/issues/490, but might still be useful.
Pull Request resolved: https://github.com/facebook/flipper/pull/491

Reviewed By: priteshrnandgaonkar

Differential Revision: D16280689

Pulled By: passy

fbshipit-source-id: 5da72a7b75d9f49afa8f6c889074bf31e9d58dcd
2019-07-16 08:59:00 -07:00
Pritesh Nandgaonkar
1047ee6d48 Fix broken travis test (#490)
Summary:
The travis test used to terminate after 10 minutes of `pod install --silent` being unresponsive, added `travis_wait` to circumvent it.

## Changelog

Fixed the broken travis test
Pull Request resolved: https://github.com/facebook/flipper/pull/490

Test Plan: All tests are green on this PR.

Reviewed By: jknoxville

Differential Revision: D16261250

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 323c5decb66232830d692b784f7cf5f9cbf67a01
2019-07-15 08:45:04 -07:00
Pascal Hartig
f4f0998f68 Build Android app on Travis (#430)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/430

Per title

Reviewed By: jknoxville

Differential Revision: D15166788

fbshipit-source-id: 2c2fbf67bf6f86a1811f3b1e7ee114dea4b9878c
2019-05-02 05:08:54 -07:00
Pascal Hartig
b1c674f6f9 Run sample tests on Travis (#426)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/426

Per title

Reviewed By: jknoxville

Differential Revision: D15147059

fbshipit-source-id: ffc805b9b93ab7adc368d3bc16f9b65c9ea7d9fd
2019-05-01 08:38:22 -07:00
Pritesh Nandgaonkar
478ea1c157 Update osx image (#427)
Summary:
Updated the `osx_image` in travis to latest version
Pull Request resolved: https://github.com/facebook/flipper/pull/427

Reviewed By: jknoxville

Differential Revision: D15147632

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 7321a737c84173b05d34d56622e529edb7db44b0
2019-04-30 08:22:49 -07:00
Pritesh Nandgaonkar
f8bd473828 Use Folly and RSocket from cocoapods (#379)
Summary:
I have released pods for Folly and RSocket on cocoapods. Thus we won't need to host different versions of these pods on our repository. I haven't removed those pods from `Specs` folder, as the current users of `0.16.2` would still be referring the Specs folder on the master branch. I will remove the specs folder once, all our pods are on cocoapods and we no longer need to host any pods.
Pull Request resolved: https://github.com/facebook/flipper/pull/379

Reviewed By: jknoxville

Differential Revision: D14185931

Pulled By: priteshrnandgaonkar

fbshipit-source-id: ea285024123e41c2d110827e26f79a72ef22c008
2019-02-26 04:18:00 -08:00
Pascal Hartig
76ad9e90cc Re-enable yarn test
Summary: Now that we have a node test in place, let's run this.

Reviewed By: danielbuechele

Differential Revision: D10217534

fbshipit-source-id: cf3debaf15b80d75234b67e4a78f6343c0fce50a
2018-10-09 03:56:13 -07:00
Pascal Hartig
f39183b524 Skip yarn test for now (#287)
Summary:
This isn't working on Travis yet and will skip the subsequent steps
which do provide value if run right now.
Pull Request resolved: https://github.com/facebook/flipper/pull/287

Reviewed By: jknoxville

Differential Revision: D10161725

Pulled By: passy

fbshipit-source-id: 3502230e842c9451e8f33309b500a720cdaa5514
2018-10-04 02:17:08 -07:00
Daniel Büchele
5aefb989e0 run jest tests
Summary:
Adding support for JS testing. Currently there are two environments tests can run in: node and electron. To select which environment to run a test in, name your test file accordingly `*.node.js` or `*.electron.js` and put it in a `__tests__` folder.

- `yarn test` to run node based tests
- `yarn test-electron` to run electron tests

A basic snapshot test of the empty app is added to make sure the app is rendering as expected. A test for the server is added to make sure when Flipper is started the two servers (secure and insecure) are started and ready to accept connections.

Reviewed By: passy

Differential Revision: D10050212

fbshipit-source-id: 8ef7f931339b43251d9d423886bcaca99ae691e4
2018-10-02 04:29:51 -07:00
Pascal Hartig
3e971775c3 Run unit tests in CI
Reviewed By: danielbuechele

Differential Revision: D10103229

fbshipit-source-id: 15f618bcd822588541de3b7c7988a1dec9c54e13
2018-09-30 04:13:56 -07:00
Pritesh Nandgaonkar
a14bbc0421 Fixes travis (#280)
Summary:
- [x] Don't harcode simulator
- [x] Remove podfile.lock
- [x] Test swift project too
- [x] Silent logs
Pull Request resolved: https://github.com/facebook/flipper/pull/280

Reviewed By: passy

Differential Revision: D10013242

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 0a6d4f43914f944c2c1b95399ffa4dbee64c9f26
2018-09-25 04:13:49 -07:00
Pascal Hartig
cf3cb0d08f Use CircleCI for SNAPSHOT deployment (#260)
Summary:
Per title. It actually works!
Pull Request resolved: https://github.com/facebook/flipper/pull/260

Reviewed By: jknoxville

Differential Revision: D9633320

Pulled By: passy

fbshipit-source-id: 10ee856977fa0a337972a472d41eb7a83075c39b
2018-09-04 04:28:20 -07:00
Pascal Hartig
94e22508ae Limit Travis run
Summary:
Right now, Travis is failing consistently because the Android build
time exceeds its limits - that's separate from the new publish step.

Let's limit what we do in the build step.

Reviewed By: jknoxville

Differential Revision: D9613247

fbshipit-source-id: f703237788f3a35d3f15fc8b9b45d6ebbb24c750
2018-08-31 07:57:13 -07:00
Pascal Hartig
de58ddcabb Revert D9602056: [flipper] Limit output in Travis
Differential Revision:
D9602056

Original commit changeset: 0b725f169a40

fbshipit-source-id: 5b5febed414744178764a6e9d1347d84ff39d8f6
2018-08-31 03:27:52 -07:00
Pascal Hartig
3b456fad3e Limit output in Travis
Summary: Logs often get cut off because there's too much noise.

Reviewed By: danielbuechele

Differential Revision: D9602056

fbshipit-source-id: 0b725f169a40c153835f63342e38f5d15556ac98
2018-08-31 02:43:54 -07:00
Pascal Hartig
91b6cf1c6a Set up automatic android snapshot publishing
Summary:
Set up automatic publishing to Maven Snapshots if the current
VERSION_NAME ends in `-SNAPSHOT`.

Reviewed By: danielbuechele

Differential Revision: D9539838

fbshipit-source-id: 6e413fa3b02966946bb867eebe7ba8b863f291b9
2018-08-29 07:12:47 -07:00
Pritesh Nandgaonkar
9095b3a030 Build Sample app rather than just building the sample pods (#251)
Summary:
Currently travis just builds the pods which sample app depends on. The test case which the current setup misses it that it will fail to check if the required header files are exposed to public. The master is broken recently because a header file is not exposed publicly and sample app fails to build, whereas all the dependencies like Sonar and SonarKit build successfully. This PR updates the travis, so that it builds sample app rather than the dependent pods.
Pull Request resolved: https://github.com/facebook/flipper/pull/251

Reviewed By: jknoxville

Differential Revision: D9465234

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 42ab7210d7fa5a3dc2927efee4b4dee95f15c6cd
2018-08-22 12:57:33 -07:00
Pascal Hartig
8b3251a047 Make Travis output less verbose
Summary:
The results on the website are completely useless right now
due to wget and unzip spam.

Reviewed By: danielbuechele

Differential Revision: D9294858

fbshipit-source-id: 921979e19ff744a58da170d3dd15663fa2475275
2018-08-13 06:30:18 -07:00
Daniel Büchele
e3ac7f4e36 fix yarn deadlock in postinstall
Summary:
The script installing the plugin dependencies is executed by yarn itself. This means a yarn instance is running while the script is trying to create another yarn instance to install plugin dependencies. The second yarn instance is waiting for the first to finish, while the second can't start as long as the first hasn't finished. Deadlock.

This is why we use a port dirrerent from yarn's default port (31997) for the mutex.

Reviewed By: jknoxville

Differential Revision: D9149973

fbshipit-source-id: 69790021460fd8ddea9ed84ca8130c77be0a62a9
2018-08-03 08:41:48 -07:00
Daniel Büchele
696c73ebc1 fixing travis builds
Summary:
- making website deployment and desktop app builds two different travis jobs, so if one fails, the other is still working
- running website builds on linux, because, we don't need macOS for this
- making dependency installs serial instead of parallel to avoid problems of multiple yarn instances running at the same time
- removing duplicate postinstall script which breaks for electron 3 builds

Reviewed By: passy

Differential Revision: D9148342

fbshipit-source-id: 22f3a0fe59aff066c04fb964621604efc46aab8a
2018-08-03 05:56:38 -07:00
Pascal Hartig
d260afa300 Fix doc deployment (#197)
Summary:
See error in https://travis-ci.com/facebook/flipper/jobs/137449831
Pull Request resolved: https://github.com/facebook/flipper/pull/197

Differential Revision: D9105688

Pulled By: passy

fbshipit-source-id: efe64137f52684f72ff54690dd2cf25d4a5b5109
2018-08-01 03:26:14 -07:00
Pascal Hartig
2128515a5d Update docs domain name
Summary: Update CNAME for domain.

Reviewed By: priteshrnandgaonkar

Differential Revision: D9087229

fbshipit-source-id: 325df300e23c87384503929c506ba690e61b8da1
2018-07-31 09:56:15 -07:00
Pascal Hartig
2d8ebc3143 Add caching (#155)
Summary:
Add some directories for caching. Also remove clean-up steps, which
aren't necessary.
Pull Request resolved: https://github.com/facebook/Sonar/pull/155

Reviewed By: jknoxville

Differential Revision: D8859224

Pulled By: passy

fbshipit-source-id: e8673504f5da74fbe5627c308ccd61fc28901116
2018-07-17 08:03:55 -07:00
Pritesh Nandgaonkar
3833f061e2 Android travis
Summary: Closes https://github.com/facebook/Sonar/pull/136

Reviewed By: danielbuechele

Differential Revision: D8735101

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 648756cf67f07abb6e0c80b677fa01bf5c5085b7
2018-07-05 10:18:18 -07:00
Pritesh Nandgaonkar
c3286b7f85 Update iOS travis to make it pass (#133)
Summary:
It updates the `xcodebuild` command with the sdk argument
Closes https://github.com/facebook/Sonar/pull/133

Reviewed By: danielbuechele

Differential Revision: D8732525

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 3aafa44cf00f49e507246ec25329a58749025cb4
2018-07-04 09:32:48 -07:00
Daniel Buchele
5163f8b9a3 fbshipit-source-id: c71048dfea2a03cf83650b55aa9d1e463251920c 2018-07-04 07:19:44 -07:00
Daniel Ruf
85a0e1d24f chore: add Node.js 10
Summary: Closes https://github.com/facebook/Sonar/pull/100

Differential Revision: D8618047

Pulled By: danielbuechele

fbshipit-source-id: 12215bcbd12a9afef88de3d4979931481ff2e7d9
2018-06-27 04:17:23 -07:00
Daniel Büchele
50490b9435 Linux and Windows builds
Summary:
Adds windows and linux builds to Sandcastle

allow-large-files

Reviewed By: jknoxville

Differential Revision: D8379581

fbshipit-source-id: 94c80fc91c69f43b7dc0c7eb8b2ee5ace4daf888
2018-06-13 09:04:04 -07:00
Daniel Büchele
fbbf8cf16b Initial commit 🎉
fbshipit-source-id: b6fc29740c6875d2e78953b8a7123890a67930f2
Co-authored-by: Sebastian McKenzie <sebmck@fb.com>
Co-authored-by: John Knox <jknox@fb.com>
Co-authored-by: Emil Sjölander <emilsj@fb.com>
Co-authored-by: Pritesh Nandgaonkar <prit91@fb.com>
2018-06-01 11:03:58 +01:00