41 Commits

Author SHA1 Message Date
05cd636fc8 npm scripts for typechecking public .d.ts-es and running tslint (#2934)
* npm scripts for typechecking public .d.ts-es and running tslint

* Update test.ts
2016-10-27 15:18:54 +03:00
299203901e Move platform .d.ts-es to separate plugin folder
Add dev-setup to figure out links

Update development workflow

Update package.json and dts-ios

Update the iOS declarations

grunt is now fine
2016-09-26 11:53:39 +03:00
3e411dfba2 Transpile should be allowed to emit on errors 2016-06-13 18:02:18 +03:00
940174b208 Remove the files entry from the tsconfig.json 2016-06-13 14:04:42 +03:00
58b4a6eec6 Add 'npm test' for mac 2016-05-30 16:10:57 +03:00
b10a3482ed Force noImplicitUseStrict transpiler option for tsc-dev 2016-05-30 14:41:53 +03:00
717b5131b1 Add isIOS, isAndroid in platform, and fast ts watcher and transpiler
Image should not requestLayout when sized with 'exactly' spec

Update image tests

Tests will run in ios only
2016-05-27 16:57:59 +03:00
212e5373f3 Move expect.exp for travis 2016-05-26 18:02:51 +03:00
a9f0adfa10 Add compiler that won't typecheck .d.ts-es 2016-05-16 14:39:29 +03:00
1e2a991b37 Reduced adb log level to root out the problem 2016-05-11 00:46:34 +05:30
130780482e Fix the tests, failing on an Arm device
Increase the timeouts of the failing webview tests
Account for fractions in time taken (run result checker)
Specify a skin to improve grid calculations
Modify the duration report to have a strict test pass detection string
2016-04-13 17:01:39 +03:00
e4ae43053b Publish XML Test results and publish @next
Modify the AndroidManifest file in the app dir to fix the HTTP tests
Pull the test results in XML format and publish them as artifacts
Have the test-results checks as a single command
Parametrize AVD version; Use the package version, retrieved from package.json for builds and runs
Make the package name a variable
Fix test crash detection according to the time taken
Move all travis-related scripts under the build dir
2016-04-11 17:02:33 +03:00
1485abaa8b Run tests in travis-CI
Add android definitions to check if they will get downloaded
Set the language to android
Attempt starting the app
Add a new redirection to the testapp-runner - a runOnly verb
Disable the install prompt
Enable the buildOnly- and runOnly- commands
Fix the version of the packages
Comment cleanup code. Workflow to be reworked
Install android 23 to make the app build
Build the test app with the @next android runtime
Add @next ability. Build with it
Specify oracle java version 8
Use switcher to switch to oraclejdk8
Switch to a single step so that build breaks on first failure
Reorder attempting to use higher nodejs
Attempt using node 5.10.1
Detect test failure
Add detection for test failures
Decrease verbosity
Extract the test checkers to a separate script
Unignore the build folder recursively. Add the fixed script
Remove the redundant node-version messages
Run the tests with Api level 21
2016-03-04 16:53:30 +02:00
fa14d4d4b0 Make declaration package have the version of the main repo package.json
Read the version field of the extracted tns-core-modules package
and set it to the declarations package.json
Remove the redundant run.sh file
2016-03-30 10:29:49 +03:00
1adaf8ffe3 Create a package for the non-included TypeScript declarations
Find out the missed TypeScript declarations in the package
Clean the package.json from devDeps
Pack and copy the platform declarations
Set version to 1.7.1
2015-11-30 18:32:24 +02:00
c3331c0efd Reenable tslint checks for unused variables and expressions. 2016-02-24 11:06:14 +02:00
41cdde4f90 Upgrade tslint 2016-02-24 11:06:14 +02:00
b2dc358edd Fix the test run on iOS
The test failed due to a huge output by the `tns platform add ios`
command. Change the grunt `exec` task to `shell` and specify max
length.
2015-12-10 15:50:18 +02:00
4997b9c3f5 Introduce a separate group task to make the runApp work as expected 2015-11-02 23:17:12 +02:00
5add617349 Remove the unnecessary emulator start for the buildTestsApp command 2015-11-02 18:42:53 +02:00
9e6ce564a0 Add runOnly command 2015-11-02 13:18:15 +02:00
11937129f3 Restore the cleanup on end 2015-10-29 15:12:25 +02:00
d5eb8046de Collecting the iOS log 2015-10-29 10:26:16 +02:00
c1b30428d0 Uninstall, install and start the app 2015-10-28 15:53:40 +02:00
94a7499aad Add a breaking command 2015-10-27 17:14:08 +02:00
8355634274 Reconfigure android-specific tasks and arguments to be cross-platform. Update documentation 2015-10-26 18:01:28 +02:00
cfb6c41542 Fix the casing of the modulesPath argument; update the readme 2015-10-26 15:02:47 +02:00
0445173757 Now update the modules 2015-10-26 11:45:57 +02:00
6ad3474803 Add empty tasks to update the modules. Broken. 2015-10-23 15:18:10 +03:00
24d2bb40c9 Validate and assign the rest of the parameters. Check for android ones only. Add just small notes to the article 2015-10-22 11:41:11 +03:00
58d05747cd Add more parameters. Add a basic readme for running the tests 2015-10-21 15:15:50 +03:00
4b37a7ec95 Introduce the platform argument. Update all the run statements to --platform=Android only 2015-10-21 13:50:41 +03:00
8eff24e56b Change grunt to do a full run 2015-10-21 11:22:56 +03:00
1543283f4a Finish the transfer to grunt. Remove the bash script running the app 2015-10-21 09:55:34 +03:00
d2f5bae597 Add a build of the android app 2015-10-20 11:37:58 +03:00
b25e9d626f Add whitespaces to the modified AndroidManifest.xml 2015-10-20 10:50:11 +03:00
f416908374 Transfer the code up to the AndroidManifest editing to grunt 2015-10-19 17:42:41 +03:00
90f3594a60 Fix the build 2015-10-19 14:11:13 +03:00
a875096b08 Start moving the code to grunt 2015-10-16 16:56:43 +03:00
fc99229144 Disable no-unused-variables in tslint to avoid a stack overflow. 2015-09-18 15:31:29 +03:00
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00