https://github.com/twitter/digits-android/blob/master/.travis.yml
language: android
jdk: oraclejdk7
android:
components:
- build-tools-23.0.1
- android-22
-(void)testPerfOfConversionToNaturalName | |
{ | |
File * file = [[File alloc] init]; | |
file.name = @".spaces.exo.platform.home."; | |
NSDate * now = [NSDate date]; | |
double beginTime = now.timeIntervalSince1970; | |
NSLog(@"Begin at %f", beginTime); | |
for (int i=0; i<1000000; i++) { | |
[file convertToNaturalName]; | |
} |
#!/bin/bash | |
WORKSPACE="" | |
SCHEME="" | |
DESTINATION="" | |
PROV_PROFILE="" | |
usage(){ | |
echo "Usage: "`basename "$PRG"`" [options]" | |
echo "" |
https://github.com/twitter/digits-android/blob/master/.travis.yml
language: android
jdk: oraclejdk7
android:
components:
- build-tools-23.0.1
- android-22
Load a properties file in the build
Properties props = new Properties()
try {
props.load(file('file.properties').newDataInputStream())
} catch (Exception ex) {
throw new GradleException("Missing file.properties file.");
}
8933bad161af4178b1185d1a37fbf41ea5269c55 |
I hereby claim:
To claim this, I am signing this object: