diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1fb1f0772..000000000 --- a/.travis.yml +++ /dev/null @@ -1,68 +0,0 @@ -language: generic -dist: xenial -services: - - xvfb - -addons: - apt: - packages: - - ccache - - cmake - - swig - - libxkbcommon-x11-0 - - libglu1-mesa-dev - - libxcb-icccm4 - - libxcb-image0 - - libxcb-keysyms1 - - libxcb-randr0 - - libxcb-render-util0 - - libxcb-xinerama0 - -env: - global: - - INSTALL_EDM_VERSION=3.0.1 - PYTHONUNBUFFERED="1" - QT_DEBUG_PLUGINS="1" - -matrix: - include: - - env: RUNTIME=3.6 TOOLKITS="null pyqt5 pyside2" - fast_finish: true - -branches: - only: - - master - -cache: - directories: - - $HOME/.cache - - $HOME/.ccache - -before_install: - - mkdir -p "${HOME}/.cache/download" - - if [[ ${TRAVIS_OS_NAME} == "linux" ]] ; then - ccache -s; - ./ci/install-edm-linux.sh; - export PATH="${HOME}/edm/bin:/usr/lib/ccache:${PATH}"; - else - ./ci/install-edm-osx.sh; - export PATH="${PATH}:/usr/local/bin"; - fi - - - edm install -y wheel click coverage -install: - - for toolkit in ${TOOLKITS}; do - if [[ ${TRAVIS_EVENT_TYPE} == "cron" ]] ; then - edm run -- python ci/edmtool.py install --runtime=${RUNTIME} --toolkit=${toolkit} --source || exit; - else - edm run -- python ci/edmtool.py install --runtime=${RUNTIME} --toolkit=${toolkit} || exit; - fi; - done -script: - - if [[ ${TOOLKITS} == 'null' ]]; then edm run -- python ci/edmtool.py flake8 --runtime=${RUNTIME} --toolkit=null; fi - - for toolkit in ${TOOLKITS}; do edm run -- python ci/edmtool.py test --runtime=${RUNTIME} --toolkit=${toolkit} || exit; done - -after_success: - - edm run -- coverage combine - - edm run -- pip install codecov - - edm run -- codecov diff --git a/appveyor-clean-cache.txt b/appveyor-clean-cache.txt deleted file mode 100644 index d00491fd7..000000000 --- a/appveyor-clean-cache.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/appveyor-run.cmd b/appveyor-run.cmd deleted file mode 100644 index 80229b38d..000000000 --- a/appveyor-run.cmd +++ /dev/null @@ -1,26 +0,0 @@ -:: Execute etstool operation for every tookit in the argument list -:: Options -:: %1 -- operation -:: %2 -- runtime -:: %3... -- tookits -:: -:: -SETLOCAL EnableDelayedExpansion - -SET counter=0 - -FOR %%x IN (%*) DO ( -SET /A counter=!counter! + 1 -IF !counter! EQU 1 SET operation=%%x -IF !counter! EQU 2 SET runtime=%%x -IF !counter! GTR 2 CALL edm run -- python ci/edmtool.py !operation! --runtime=!runtime! --toolkit=%%x || GOTO error -) -GOTO end - -:error: -ENDLOCAL -EXIT /b %ERRORLEVEL% - -:end: -ENDLOCAL -ECHO.Done diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index e9140d1d6..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,31 +0,0 @@ -build: false -shallow_clone: false -skip_branch_with_pr: true -environment: - - global: - PYTHONUNBUFFERED: "1" - INSTALL_EDM_VERSION: "3.0.1" - - matrix: - - RUNTIME: '3.6' - TOOLKITS: "null pyqt5 pyside2" - -branches: - only: - - master - -cache: - - C:\Users\appveyor\.cache -> appveyor-clean-cache.txt - - C:\Users\appveyor\AppData\Local\pip\Cache -> appveyor-clean-cache.txt - -init: - - ps: $Env:path = "C:/Enthought/edm;" + $Env:path - - ps: md C:/Users/appveyor/.cache -Force - -install: - - install-edm-windows.cmd - - edm install -y wheel click coverage - - appveyor-run.cmd install %runtime% %toolkits% -test_script: - - appveyor-run.cmd test %runtime% %toolkits% diff --git a/ci/install-edm-linux.sh b/ci/install-edm-linux.sh deleted file mode 100755 index 342b56bde..000000000 --- a/ci/install-edm-linux.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -install_edm() { - local EDM_MAJOR_MINOR="$(echo "$INSTALL_EDM_VERSION" | sed -E -e 's/([[:digit:]]+\.[[:digit:]]+)\..*/\1/')" - local EDM_PACKAGE="edm_cli_${INSTALL_EDM_VERSION}_linux_x86_64.sh" - local EDM_INSTALLER_PATH="${HOME}/.cache/download/${EDM_PACKAGE}" - - if [ ! -e "$EDM_INSTALLER_PATH" ]; then - curl -o "$EDM_INSTALLER_PATH" -L "https://package-data.enthought.com/edm/rh6_x86_64/${EDM_MAJOR_MINOR}/${EDM_PACKAGE}" - fi - - bash "$EDM_INSTALLER_PATH" -b -p "${HOME}/edm" -} - -install_edm diff --git a/ci/install-edm-osx.sh b/ci/install-edm-osx.sh deleted file mode 100755 index 5be73c658..000000000 --- a/ci/install-edm-osx.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -install_edm() { - local EDM_MAJOR_MINOR="$(echo "$INSTALL_EDM_VERSION" | sed -E -e 's/([[:digit:]]+\.[[:digit:]]+)\..*/\1/')" - local EDM_PACKAGE="edm_cli_${INSTALL_EDM_VERSION}.pkg" - local EDM_INSTALLER_PATH="${HOME}/.cache/download/${EDM_PACKAGE}" - - if [ ! -e "$EDM_INSTALLER_PATH" ]; then - curl -o "$EDM_INSTALLER_PATH" -L "https://package-data.enthought.com/edm/osx_x86_64/${EDM_MAJOR_MINOR}/${EDM_PACKAGE}" - fi - - sudo installer -pkg "$EDM_INSTALLER_PATH" -target / -} - -install_edm diff --git a/install-edm-windows.cmd b/install-edm-windows.cmd deleted file mode 100644 index c7cfee5d0..000000000 --- a/install-edm-windows.cmd +++ /dev/null @@ -1,26 +0,0 @@ -@ECHO OFF - -SETLOCAL EnableDelayedExpansion - -FOR /F "tokens=1,2,3 delims=." %%a in ("%INSTALL_EDM_VERSION%") do ( - SET MAJOR=%%a - SET MINOR=%%b - SET REVISION=%%c -) - -SET EDM_MAJOR_MINOR=%MAJOR%.%MINOR% -SET EDM_PACKAGE=edm_cli_%INSTALL_EDM_VERSION%_x86_64.msi -SET EDM_INSTALLER_PATH=%HOMEDRIVE%%HOMEPATH%\.cache\%EDM_PACKAGE% -SET COMMAND="(new-object net.webclient).DownloadFile('https://package-data.enthought.com/edm/win_x86_64/%EDM_MAJOR_MINOR%/%EDM_PACKAGE%', '%EDM_INSTALLER_PATH%')" - -IF NOT EXIST %EDM_INSTALLER_PATH% CALL powershell.exe -Command %COMMAND% || GOTO error -CALL msiexec /qn /i %EDM_INSTALLER_PATH% EDMAPPDIR=C:\Enthought\edm || GOTO error - -ENDLOCAL -@ECHO.DONE -EXIT - -:error: -ENDLOCAL -@ECHO.ERROR -EXIT /b %ERRORLEVEL%