diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..21397c07d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: php + +php: + - 5.6 + - 7.1 + - 7.2 + - nightly + +matrix: + fast_finish: true + allow_failures: + - php: nightly + +cache: + directories: + - $HOME/.composer/cache + +before_install: + - export PATH="$HOME/.composer/vendor/bin:$PATH" + + - composer global require drush/drush:~8.1.5 + + - ./build.sh new + +script: + - echo "There are no tests yet, but the build passed." diff --git a/build.sh b/build.sh index 86e1e9d53..2d8ff5f46 100755 --- a/build.sh +++ b/build.sh @@ -433,6 +433,10 @@ class Maker: # Ensure directories exist def _precheck(self): + # Most of the time a files directory will already exist, but primarily for initial builds, it won't. + if not os.path.isdir('files'): + os.mkdir('files') + # Remove old build it if exists if os.path.isdir(self.temp_build_dir): shutil.rmtree(self.temp_build_dir) diff --git a/conf/kadaproject.make b/conf/kadaproject.make index fe61c12f3..9585e4343 100644 --- a/conf/kadaproject.make +++ b/conf/kadaproject.make @@ -80,7 +80,7 @@ libraries[colorbox][download][url] = https://github.com/jackmoore/colorbox/archi ; Openlayers library libraries[openlayers][download][type] = get -libraries[openlayers][download][url] = https://github.com/openlayers/openlayers/releases/download/release-2.13.1/OpenLayers-2.13.1.zip +libraries[openlayers][download][url] = https://github.com/openlayers/ol2/archive/release-2.13.1.zip ; Contrib modules ; ------------