diff --git a/.appveyor.yml b/.appveyor.yml index 9e426110418..db631d033b5 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -13,8 +13,9 @@ install: - npm install test_script: - - npm --silent run build - - npm --silent run test -- --browsers IE --webgl-stub --suppressPassed + - npm --silent run minifyRelease + - npm --silent run build-specs + - npm --silent run test -- --browsers IE --webgl-stub --release --suppressPassed # Don't actually build. build: off diff --git a/.eslintignore b/.eslintignore index 71525bb5214..f6d729a5154 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,8 +4,11 @@ Build/** Documentation/** Source/Shaders/** Source/ThirdParty/** -Source/Workers/cesiumWorkerBootstrapper.js +Source/Workers/** +!Source/Workers/transferTypedArrayTest.js ThirdParty/** Tools/** Apps/Sandcastle/jsHintOptions.js Apps/Sandcastle/gallery/gallery-index.js +Source/Core/buildModuleUrl.js +Specs/spec-main.js diff --git a/.eslintrc.json b/.eslintrc.json index 01a053756fc..6c69dcbf3be 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,5 +5,18 @@ ], "rules": { "no-unused-vars": ["error", {"vars": "all", "args": "none"}] - } + }, + "overrides": [ + { + "files": [ + "index.js", + "server.js", + "gulpfile.js", + "Source/Workers/transferTypedArrayTest.js" + ], + "parserOptions": { + "sourceType": "script" + } + } + ] } diff --git a/.gitignore b/.gitignore index 3d22bfa7d15..0a6c57a54ee 100644 --- a/.gitignore +++ b/.gitignore @@ -14,12 +14,12 @@ Thumbs.db /Source/Cesium.js -/Source/Shaders/*.js -/Source/Shaders/*/*.js -/Source/Shaders/*/*/*.js -/Source/ThirdParty/Shaders/*.js - /Specs/SpecList.js +/Source/Shaders/**/*.js +/Source/ThirdParty/Shaders/**/*.js +/Source/Workers/** +!/Source/Workers/cesiumWorkerBootstrapper.js +!/Source/Workers/transferTypedArrayTest.js /node_modules npm-debug.log diff --git a/.npmignore b/.npmignore index da787f59d72..98c5270d4a0 100644 --- a/.npmignore +++ b/.npmignore @@ -11,10 +11,11 @@ /.travis.yml /.vscode /Apps +/Build/Apps /Build/Coverage /Build/minifyShaders.state -/Build/Stubs /Build/Documentation +/Build/Specs /Cesium-*.zip /Documentation /favicon.ico @@ -24,7 +25,6 @@ /launches /server.js /Source/copyrightHeader.js -/Source/main.js /Specs /ThirdParty /Tools diff --git a/.travis.yml b/.travis.yml index de00e0c3019..be47106c948 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,7 @@ script: - npm --silent run deploy-s3 -- -b cesium-dev -d cesium/$TRAVIS_BRANCH --confirm -c 'no-cache' - npm --silent run deploy-status -- --status success --message Deployed + - npm --silent run build-specs - npm --silent run test -- --browsers ChromeCI --failTaskOnError --webgl-stub --release --suppressPassed # Various Node.js smoke-screen tests diff --git a/Apps/CesiumViewer/CesiumViewerStartup.js b/Apps/CesiumViewer/CesiumViewerStartup.js deleted file mode 100644 index dd0502edb06..00000000000 --- a/Apps/CesiumViewer/CesiumViewerStartup.js +++ /dev/null @@ -1,11 +0,0 @@ -/*eslint-disable strict*/ -require({ - baseUrl : '.', - paths : { - domReady : '../../ThirdParty/requirejs-2.1.20/domReady', - Cesium : '../../Source' - } -}, [ - 'CesiumViewer' - ], function() { -}); diff --git a/Apps/CesiumViewer/index.html b/Apps/CesiumViewer/index.html index 1851db5ea96..35b67a8902b 100644 --- a/Apps/CesiumViewer/index.html +++ b/Apps/CesiumViewer/index.html @@ -10,10 +10,10 @@