diff --git a/.travis.yml b/.travis.yml index 23c72bef3e2a4..a8c0f38c918f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,4 @@ node_js: before_script: - npm install -g gulp script: - - npm run test + - npm run build diff --git a/package.json b/package.json index 0ec49de7fb47c..cee17b9f91edf 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,10 @@ "scripts": { "_rushInstall": "node node_modules/@microsoft/rush/bin/rush install", "_rushLink": "node node_modules/@microsoft/rush/bin/rush link", - "_rushBuild": "node node_modules/@microsoft/rush/bin/rush build --production --verbose", + "_rushBuild": "node node_modules/@microsoft/rush/bin/rush build --verbose", + "_rushBuildToFabric": "node node_modules/@microsoft/rush/bin/rush build --to office-ui-fabric-react", "_rushRebuild": "node node_modules/@microsoft/rush/bin/rush rebuild --production --verbose", - "postinstall": "npm run _rushInstall && npm run _rushLink && npm run _rushRebuild", + "postinstall": "npm run _rushInstall && npm run _rushBuildToFabric", "test": "npm run _rushBuild", "start": "cd packages && cd office-ui-fabric-react && npm start", "build": "npm run _rushRebuild",