Commit graph

31 commits

Author SHA1 Message Date
Seán Mac Gillicuddy
64179d0073
#3476 Use individual test commands on CI instead of check (#3477)
* #3476 Use individual test commands on CI instead of check - use individual commands and narrow scope

* #3476 Use individual test commands on CI instead of check - fix indentation
2020-03-09 12:16:28 +00:00
Vivek Maskara
230b9527ed Edit travis config to have travis integration (#2990) 2019-06-04 20:52:25 +05:30
Dmitry Brant
c21cc83eb5 Update to API 28, and fix CI issues. (#2595)
* Update gradle version.

Also update jacoco plugin to work with latest gradle.

* Update target sdk to 28.

* Update other dependencies to latest versions.

* Remove totally unused(?) local jar file.

* Remove dependency on nineoldandroids.

The functions it provides are no longer necessary.
This also removes a homemade "evaluate" function, which is readily
available in the Support library.

* Remove dependency on Traceur.

This library has not been updated in two years (may no longer be maintained?), and no longer works with
the latest RxJava.

* Enable test coverage only when performing CI.

Running test coverage on every single build while developing in the IDE is quite a waste of time.

* Suppress gradle Notes and Warnings from reflection-using packages.

The build output was getting extremely long, and was actually causing
the build to fail because of the sheer size of the log.

* Suppress gradle Note messages during tests and CI.

Stop CI messages from exploding to 10k+ lines.

* Temporarily remove instrumented test(s).

The project's instrumented tests consist of a single test which sets a
SharedPreference, then verified that the SharedPreference was set.

I humbly submit that this is not worth the trouble of having the CI
server download the system image, spin up an emulator, load the APK, and
run it just for this purpose.

Once the instrumented tests are ready for prime time, we can reinstate
instrumented tests in CI.
2019-03-15 08:30:08 +05:30
Vanshika Arora
6389b35b49 replaced icafe with metadata extractor (#2546)
* replaced icafe with metadata extractor

* replaced icafe with metadata extractor

* removed icafe from gradle

* removed icafe from gradle

* Revert: travis commented code

* Use original content URI

* merged pr

* commit after merge

* modified unit tests
2019-03-12 00:20:47 +05:30
Vivek Maskara
fd82c8aed9 Fix travis config 2019-03-10 17:43:56 +05:30
Vivek Maskara
ad1f92aa7d With travis config fixed 2019-03-10 17:29:07 +05:30
Vivek Maskara
653a068200 With release notes directory 2019-03-10 16:56:10 +05:30
Vivek Maskara
f9fb465309
Include release notes with alpha releases (#2571) 2019-03-10 16:10:49 +05:30
Vanshika Arora
9867143099 Project build successful (#2412)
* Fixed issue #2285

* modified gradle.properties

* updation in build.gradle

* updated travis.yml
2019-02-06 00:37:32 +05:30
Adam Jones
d960c14174
Fix #2172 by fixing whitespace in bash test 2018-12-19 16:24:28 +00:00
Adam Jones
e6593c55e9 Travis should only sign and build APK on master branch (#2162) 2018-12-19 00:08:54 +05:30
maskara
9c58994668 Update publish task 2018-12-15 01:51:19 +05:30
Vivek Maskara
867e447a17
Integrate gradle play publisher for automatic alpha releases (#2116) 2018-12-14 23:53:05 +05:30
Josephine Lim
707c52c768 Automate releases (part 1) (#2111)
* Encrypt keystore

* Modify build.gradle to add signing configs for env vars

* Fixed keystore name

* Remove encrypted file that is causing build errors

* Add encrypted keystore again

* Remove failed keystore again...

* Add keystore encrypted by Nicolas

* Modify env var names for key and iv
2018-12-14 21:07:03 +05:30
Dmitry Brant
fc30f1b5ec Sweeping update of gradle and dependency versions. (#1858)
* Sweeping update of gradle and library versions.

This updates all of the dependencies of the project to their latest
versions. Everyone should please upgrade to the latest version of Android
Studio, update your build tools, and keep your version of Gradle and the
Kotlin plugin up to date.

* Update build tools in travis.

* Remove cruft and fix tests.

* Remove even more stuff.

* Reinstate instrumented tests.

* Update emulator image in travis.

* Localisation updates from https://translatewiki.net.

* Work towards eliminating string literals from code. (#1861)

String literals are being used in many places in the code, instead of
proper string resources which are automatically localized. This PR
replaces many of the string literals with pre-packaged resources, or will
add the appropriate string if necessary.

* Add button on image details to copy wikicode to clipboard (#1849)

* Add button on image details to copy wikicode to clipboard

* Make copy wikicode button width the same as the nominate deletion button width by filling in background

* Build fix

* Enable ProGuard for Debug and Release builds.

This enables ProGuard minification, which significantly shrinks the APK
(for both debug and release configurations) and vastly decreases the
method count.

* Add ProGuard rules for test builds.
2018-09-11 11:51:28 +03:00
Vivek Maskara
2a0b9d8a0b Enable crosswiki notifications and minor UI fixes in displaying notif… (#1540)
* Enable crosswiki notifications and minor UI fixes in displaying notifications

* Added java docs
2018-05-24 15:54:31 +03:00
Yusuke Matsubara
40b99c4c6c Travis-CI: remove stacktrace from gradle output 2018-01-16 16:48:09 +09:00
Yusuke Matsubara
94f8a7f1f8 Add unit test reports to Travis settings 2017-11-04 21:14:03 +09:00
maskara
3adb5d83ae Update Gradle plugin to 3.0 2017-11-02 22:53:27 +05:30
Yusuke Matsubara
c11db21fc9 travis-ci: explicit license acceptance; android-26 2017-10-26 20:36:16 +09:00
Paul Hawke
3c5eeead65 Updated travis.yml
StackOverflow suggested a tweak to the travis configuration, trying it.
2017-10-24 21:11:26 -05:00
Yusuke Matsubara
1800c54455 Use build tools version 26.0.1 2017-08-24 22:08:22 +09:00
Yusuke Matsubara
d6e54d028d .travls.yml: use official cache settings for gradle
https://docs.travis-ci.com/user/languages/java/#Projects-Using-Gradle
2017-08-20 11:32:43 +09:00
Yusuke Matsubara
e95edc696b Remove lint results from Travis reports 2017-07-21 09:39:54 +09:00
Yusuke Matsubara
4281cd3027 Attempts to reduce timeout (for Travis-CI) 2017-07-05 22:04:24 +09:00
Yusuke Matsubara
3b1a902636 Add Codecov settings 2017-05-27 23:19:49 +09:00
Yusuke Matsubara
46b54e7312 Remove redundant Espresso/Travis settings 2017-04-20 21:34:04 +09:00
Yusuke Matsubara
7a7e1e7fbb Test license selection in Settings and run emulator on Travis 2017-04-19 20:33:59 +09:00
Adam Jones
87927ea018 Update .travis.yml 2017-03-12 15:47:13 +00:00
Yusuke Matsubara
b005274497 Upgrade build tools (25) and gradle plugin (2.2.2)
Also, Java SDK 8 is now required by dependency.
2016-10-25 19:41:12 +09:00
Yusuke Matsubara
7964757541 Travis-CI 2016-07-16 14:50:51 +09:00