File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
React Native module to support Azure Notification Hub push notifications on Android, iOS, and Windows.
4
4
5
+ [ ![ Build Status] ( https://dev.azure.com/phongthaicao/react-native-azurenotificationhub/_apis/build/status/CatalystCode.react-native-azurenotificationhub?branchName=master )] ( https://dev.azure.com/phongthaicao/react-native-azurenotificationhub/_apis/build/status/CatalystCode.react-native-azurenotificationhub?branchName=master )
6
+
5
7
# Platform-specific Guides
6
8
- [ Android] ( docs/android-installation.md )
7
9
- [ iOS] ( docs/ios-installation.md )
Original file line number Diff line number Diff line change
1
+ trigger :
2
+ branches :
3
+ include :
4
+ - master
5
+ - releases/*
6
+ exclude :
7
+ - refs/tag/*
8
+
9
+ pool :
10
+ vmImage : ' macOS-10.13'
11
+
12
+ steps :
13
+ - checkout : self
14
+ path : react-native-azurenotificationhub
15
+
16
+ - script : |
17
+ git clone https://github.com/phongcao/react-native-azurenotificationhub-sample.git ../react-native-azurenotificationhub-sample
18
+ displayName : ' Cloning react-native-azurenotificationhub-sample'
19
+
20
+ - task : NodeTool@0
21
+ inputs :
22
+ versionSpec : ' 10.15.3'
23
+ displayName : ' Install Node'
24
+
25
+ - script : cd ../react-native-azurenotificationhub-sample && npm install
26
+ displayName : ' Install dependencies'
27
+
28
+ - script : |
29
+ cp -R ../react-native-azurenotificationhub ../react-native-azurenotificationhub-sample/node_modules
30
+ displayName : ' Copying react-native-azurenotificationhub'
31
+
32
+ - script : cd ../react-native-azurenotificationhub-sample && npm run lint
33
+ displayName : ' Run lint'
34
+
35
+ - script : cd ../react-native-azurenotificationhub-sample && npm run test
36
+ displayName : ' Run unit tests'
37
+
38
+ - task : Gradle@2
39
+ inputs :
40
+ workingDirectory : ' ../react-native-azurenotificationhub-sample/android'
41
+ gradleWrapperFile : ' ../react-native-azurenotificationhub-sample/android/gradlew'
42
+ tasks : ' assembleRelease'
43
+ continueOnError : false
You can’t perform that action at this time.
0 commit comments