Skip to content

Commit

Permalink
Remove CasperJS tests, since CasperJS and PhantomJS is no longer main…
Browse files Browse the repository at this point in the history
…tained.
  • Loading branch information
andreasrosdal committed Mar 17, 2021
1 parent 95e58b9 commit bee41d8
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 419 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ jobs:
- name: install
shell: bash
run: ./scripts/install/install.sh --mode=TEST
- name: run tests
shell: bash
run: ./scripts/ci-run.sh
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ Freeciv-Web continuous integration on Travis CI
-----------------------------------------------
Freeciv-Web is built on Travis CI on every commit. This is the current build status: [![Build Status](https://api.travis-ci.org/freeciv/freeciv-web.png)](https://travis-ci.org/freeciv/freeciv-web)

Freeciv-web has CasperJS tests which are run by Travis CI on every commit, and by Vagrant when creating a new image. The tests can be found in tests/freeciv-web-tests.js. Please make sure that patches and commits for Freeciv-web don't break the CasperJS tests. Thanks!
Developers interested in Freeciv-web
------------------------------------

Expand Down
47 changes: 0 additions & 47 deletions scripts/ci-run.sh

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/install/deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,4 @@ echo "==== Installing Handlebars ===="
cd "${TMPINSTDIR}"
sudo -H npm install [email protected] -g

if [ "${FCW_INSTALL_MODE}" = TEST ]; then
ext_install_casperjs
fi

9 changes: 0 additions & 9 deletions scripts/install/ext-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,4 @@ ext_install_tomcat8 () {
ext_installed[${#ext_installed[@]}]="tomcat8"
}

ext_install_casperjs () {
echo "==== Installing CasperJS for testing ===="
cd "${basedir}/tests"
curl -LOsS 'https://github.com/casperjs/casperjs/archive/1.1.4.zip'
unzip -qo 1.1.4.zip
rm 1.1.4.zip
sudo ln -sf "${basedir}/casperjs-1.1.4/bin/casperjs" /usr/local/bin/casperjs
ext_installed[${#ext_installed[@]}]="casperjs"
}

18 changes: 0 additions & 18 deletions tests/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions tests/casperjs-1.1.4/.gitignore

This file was deleted.

59 changes: 0 additions & 59 deletions tests/freeciv-web-autogame.js

This file was deleted.

Loading

0 comments on commit bee41d8

Please sign in to comment.