Skip to content

Commit 6da1162

Browse files
committed
initial version
0 parents  commit 6da1162

File tree

103 files changed

+9879
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+9879
-0
lines changed

.gitignore

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Windows image file caches
2+
Thumbs.db
3+
ehthumbs.db
4+
5+
# Folder config file
6+
Desktop.ini
7+
8+
# Recycle Bin used on file shares
9+
$RECYCLE.BIN/
10+
11+
# Windows Installer files
12+
*.cab
13+
*.msi
14+
*.msm
15+
*.msp
16+
17+
# Windows shortcuts
18+
*.lnk
19+
20+
# =========================
21+
# Operating System Files
22+
# =========================
23+
24+
# OSX
25+
# =========================
26+
27+
.DS_Store
28+
.AppleDouble
29+
.LSOverride
30+
31+
# Thumbnails
32+
._*
33+
34+
# Files that might appear on external disk
35+
.Spotlight-V100
36+
.Trashes
37+
38+
# Directories potentially created on remote AFP share
39+
.AppleDB
40+
.AppleDesktop
41+
Network Trash Folder
42+
Temporary Items
43+
.apdisk
44+
45+
bin
46+
obj
47+
.vs
48+
.tscache
49+
*.user
50+
*.js
51+
*.map
52+
!gruntfile.js
53+
node_modules
54+
*.tmp.*
55+
platforms
56+
demo/lib
57+
*.log
58+
!webpack.*.js
59+
!karma.conf.js
60+
report

.travis.yml

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
sudo: false
2+
3+
android:
4+
components:
5+
- tools
6+
- platform-tools
7+
- build-tools-25.0.2
8+
- android-22
9+
- android-23
10+
- android-25
11+
- extra-android-m2repository
12+
- sys-img-armeabi-v7a-android-22
13+
14+
before_cache:
15+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
16+
17+
cache:
18+
directories:
19+
- .nvm
20+
- $HOME/.gradle/caches/
21+
- $HOME/.gradle/wrapper/
22+
23+
install:
24+
- echo no | npm install -g nativescript
25+
- tns usage-reporting disable
26+
- tns error-reporting disable
27+
- echo no | npm install -g grunt-cli
28+
- npm install
29+
- grunt compile
30+
31+
matrix:
32+
include:
33+
- stage: lint
34+
language: node_js
35+
os: linux
36+
node_js: "6"
37+
script: grunt lint
38+
39+
- stage: build
40+
language: android
41+
os: linux
42+
env:
43+
- Android="25"
44+
jdk: oraclejdk8
45+
before_install: nvm install 6.10.3
46+
script: "grunt ci:build:android"
47+
48+
- stage: build
49+
os: osx
50+
env:
51+
- iOS="10.3"
52+
- Xcode="8.3"
53+
osx_image: xcode8.3
54+
language: node_js
55+
node_js: "6"
56+
jdk: oraclejdk8
57+
before_install: "pod repo update"
58+
script: "grunt ci:build:ios"
59+
60+
- stage: webpack
61+
language: android
62+
os: linux
63+
env:
64+
- Android="25"
65+
- Platform="Android"
66+
jdk: oraclejdk8
67+
before_install: nvm install 6.10.3
68+
script: "grunt ci:webpack:android"
69+
70+
- stage: webpack
71+
os: osx
72+
env:
73+
- iOS="10.3"
74+
- Xcode="8.3"
75+
- Platform="iOS"
76+
osx_image: xcode8.3
77+
language: node_js
78+
node_js: "6"
79+
jdk: oraclejdk8
80+
before_install: "pod repo update"
81+
script: "grunt ci:webpack:ios"
82+
83+
- stage: test
84+
language: android
85+
os: linux
86+
env:
87+
- Android="25"
88+
jdk: oraclejdk8
89+
before_install: nvm install 6.10.3
90+
before_script:
91+
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
92+
- emulator -avd test -no-audio -no-window &
93+
- android-wait-for-emulator
94+
script: cd demo && tns deploy android --justlaunch && tns test android --justlaunch && cd ..
95+
96+
- stage: test
97+
language: objective-c
98+
os: osx
99+
osx_image: xcode8.2
100+
xcode_sdk: iphonesimulator9.3
101+
before_install:
102+
- export LANG=en_US.UTF-8
103+
- brew update
104+
- open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID "808A0798-21A1-4579-B15E-DA3CC5782582"
105+
- nvm install 6
106+
- brew install xcproj
107+
- gem install xcodeproj
108+
script: cd demo && tns deploy ios --justlaunch && tns test ios --justlaunch && cd ..
109+
110+
- stage: deploy
111+
if: branch = release
112+
language: node_js
113+
node_js: "6"
114+
before_deploy:
115+
- cd bin/dist
116+
deploy:
117+
provider: npm
118+
119+
api_key:
120+
secure: "bE88gjzCp5WVM6krHGLOXykFUZXtV8dWFQt4Q80GGX/ZbpZ572tDTBMeNCiZHKt801diulXy1dqZ8b709tWID1lyTfIJfGeO0mRZ2/tt7BIeIzFZpcbd8EXWDozqnxnX7wfgXHex8Zt0apjUI89ahfVb2RezwlLCafDpfeL6Y3fF4bZPei+im07yE83HCTTJ60APFB6Ok2nrtqh79PX1FNeiYev6Bg44OlGrYVFskGNEmwB2RawbCyRDeuTEXbpmBbRErxN0xokRUxGoDEQoSM0QlWm+DQbYzJm5maeU0bs4kHmGtU1WVyilCmcXElZtjDZ6nP1CyiE855MGI+yVqrwoyrVfIl2rpk/BfbWuW1wk8ysvSFUK2tv+q14iIeh3wLrMhmf3RV4EeLL5zAQU3XAH+vy7XJWbSeOa+UFBVaCb6aP3rY3X1x9NZfJb4Otkxo1Yv7wuqvQ/62zxsyMKcRK5krq0K0ykxVY52NtBTBqIDWD2gXjTY9onL7FRWwrqkCSUsC4S0vAEMdiNwa7K9YHF0mn72vjNY/7xTYbj9SIzwaQL1rXVy17qTvGdXq9BMB5s79qhfyypx6ETP83oEBZltPnTsSyVyt13DfWXp4xyINQiAAjhMUfnuQCg8kIwJAouLyIQvIB2h1QArxC9PEbAg0ImlCP6/lGuzjRrWjQ="
121+
skip_cleanup: true
122+
on:
123+
branch: release

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"**/.git": true,
5+
"**/.DS_Store": true,
6+
"demo": true,
7+
"demo-ng": true,
8+
"bin/**": true
9+
},
10+
"typescript.tsdk": "node_modules/typescript/lib"
11+
}

.vscode/tasks.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "0.1.0",
5+
"command": "grunt",
6+
"isShellCommand": true,
7+
"args": ["--no-color"],
8+
"showOutput": "always",
9+
"tasks": [
10+
{
11+
"taskName": "build",
12+
"args": [],
13+
"isBuildCommand": true,
14+
"problemMatcher": ["$tsc", {
15+
"base": "$tslint4",
16+
"fileLocation": "relative"
17+
}]
18+
}
19+
]
20+
}

0 commit comments

Comments
 (0)