diff --git a/.circleci/config.yml b/.circleci/config.yml index d810474..bdfc0fd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,9 +15,26 @@ jobs: - v3-react-navigation-master - run: yarn # install root deps - run: ./scripts/test.sh # run tests + - setup_remote_docker + - deploy: + command: | + set -x + VER="17.03.0-ce" + curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/Linux/x86_64/docker-$VER.tgz + tar -xz -C /tmp -f /tmp/docker-$VER.tgz + mv /tmp/docker/* /usr/bin + + yarn global add exp + set +x + exp login -u "$EXPO_USERNAME" -p "$EXPO_PASSWORD" + set -x + cd examples/NavigationPlayground && yarn && exp publish --release-channel "${CIRCLE_SHA1}" - save_cache: key: v3-react-navigation-{{ .Branch }}-{{ checksum "package.json" }} paths: - ~/.cache/yarn - ~/react-navigation/examples/NavigationPlayground/node_modules - ~/react-navigation/examples/ReduxExample/node_modules +notify: + webhooks: + - url: https://react-navigation-ci.now.sh \ No newline at end of file diff --git a/src/navigators/__tests__/__snapshots__/StackNavigator-test.js.snap b/src/navigators/__tests__/__snapshots__/StackNavigator-test.js.snap index a826bd8..89c860c 100644 --- a/src/navigators/__tests__/__snapshots__/StackNavigator-test.js.snap +++ b/src/navigators/__tests__/__snapshots__/StackNavigator-test.js.snap @@ -48,7 +48,7 @@ exports[`StackNavigator applies correct values when headerRight is present 1`] = pointerEvents="auto" style={ Object { - "backgroundColor": "#E9E9EF", + "backgroundColor": "#EFEFF4", "bottom": 0, "left": 0, "opacity": 1, @@ -81,7 +81,7 @@ exports[`StackNavigator applies correct values when headerRight is present 1`] = style={ Object { "backgroundColor": "#F7F7F7", - "borderBottomColor": "rgba(0, 0, 0, .3)", + "borderBottomColor": "#A7A7AA", "borderBottomWidth": 0.5, "height": 64, "paddingBottom": 0, @@ -233,7 +233,7 @@ exports[`StackNavigator renders successfully 1`] = ` pointerEvents="auto" style={ Object { - "backgroundColor": "#E9E9EF", + "backgroundColor": "#EFEFF4", "bottom": 0, "left": 0, "opacity": 1, @@ -266,7 +266,7 @@ exports[`StackNavigator renders successfully 1`] = ` style={ Object { "backgroundColor": "#F7F7F7", - "borderBottomColor": "rgba(0, 0, 0, .3)", + "borderBottomColor": "#A7A7AA", "borderBottomWidth": 0.5, "height": 64, "paddingBottom": 0,