Browse Source

try fix travis flakiness with CODE_SIGNING_REQUIRED=NO

Daniel Zlotin 7 years ago
parent
commit
4ab5af134a

+ 1
- 0
.travis.yml View File

8
     - ANDROID_HOME=$HOME/android-sdk-macosx
8
     - ANDROID_HOME=$HOME/android-sdk-macosx
9
     - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
9
     - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
10
     - YARN_CACHE=$HOME/.yarn-cache
10
     - YARN_CACHE=$HOME/.yarn-cache
11
+    - CODE_SIGNING_REQUIRED=NO
11
 
12
 
12
 branches:
13
 branches:
13
   only:
14
   only:

+ 1
- 0
lib/android/app/src/test/java/com/reactnativenavigation/viewcontrollers/NavigationControllerTest.java View File

86
 		assertThat(uut.size()).isEqualTo(2);
86
 		assertThat(uut.size()).isEqualTo(2);
87
 		assertThat(uut.handleBack()).isTrue();
87
 		assertThat(uut.handleBack()).isTrue();
88
 		assertThat(uut.size()).isEqualTo(1);
88
 		assertThat(uut.size()).isEqualTo(1);
89
+		assertThat(uut.handleBack()).isFalse();
89
 	}
90
 	}
90
 }
91
 }