Merge pull request #7 from apache/fix-travis

Split platforms into separate Travis CI builds
diff --git a/.travis.yml b/.travis.yml
index a4ea82d..9755237 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,8 +8,18 @@
 
 env:
   matrix:
-    - TARGET=js-all
-    - TARGET=couch-pkg-all
+    - PLATFORM=debian-jessie
+    - PLATFORM=debian-stretch
+    - PLATFORM=ubuntu-trusty
+    - PLATFORM=ubuntu-xenial
+    - PLATFORM=ubuntu-bionic
+    - PLATFORM=centos-6
+    - PLATFORM=centos-7
 
 script:
-  - ./build.sh ${TARGET}
+  - ./build.sh js ${PLATFORM}
+  - ./build.sh couch-pkg ${PLATFORM}
+
+after_script:
+  - ls -laR js
+  - ls -laR couch