Skip to content

Commit

Permalink
CI build fix (react-native-community#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen committed May 7, 2019
1 parent d26eb53 commit 44a9b0d
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .circleci/config.yml
Expand Up @@ -14,20 +14,24 @@ jobs:
command: |
docker run --rm --name rn-env react-native-community/react-native bin/sh -c "npx envinfo"
test:
- run:
name: Test
command: |
git clone https://github.com/facebook/react-native --depth=1
cd react-native
docker run --rm --name rn-build -v $PWD:/pwd -w /pwd react-native-community/react-native /bin/sh -c \
"yarn install && ./gradlew RNTester:android:app:assembleRelease && ./scripts/circleci/buck_fetch.sh"
machine: true
steps:
- run:
name: Test
command: |
git clone https://github.com/facebook/react-native --depth=1
cd react-native
docker run --rm --name rn-build -v $PWD:/pwd -w /pwd react-native-community/react-native /bin/sh -c \
"yarn install && ./gradlew RNTester:android:app:assembleRelease && ./scripts/circleci/buck_fetch.sh"
deploy:
- run:
name: Deploy docker
command: |
source ~/.bashrc
nvm i node
node publish_docker.js
machine: true
steps:
- run:
name: Deploy docker
command: |
source ~/.bashrc
nvm i node
node publish_docker.js
workflows:
version: 2
Expand Down

0 comments on commit 44a9b0d

Please sign in to comment.