Skip to content

Commit 79ebda9

Browse files
peterbecichcdsmith
authored andcommitted
remove unused GHCJS Travis stuff
1 parent 87b8927 commit 79ebda9

File tree

1 file changed

+0
-349
lines changed

1 file changed

+0
-349
lines changed

.travis.yml

-349
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,14 @@ cache:
77
timeout: 2000
88
directories:
99
- $HOME/.cabal
10-
# - $HOME/.ghc
11-
# - $HOME/.ghcjs
1210
- $HOME/.local/bin
1311
- $HOME/.stack
1412
- $TRAVIS_BUILD_DIR/.stack-work
15-
# - $TRAVIS_BUILD_DIR/ghcjs/.cabal-sandbox
16-
# - $TRAVIS_BUILD_DIR/ghcjs/data
17-
# - $TRAVIS_BUILD_DIR/ghcjs/dist
18-
# - $TRAVIS_BUILD_DIR/ghcjs/dist-newstyle
19-
# - $TRAVIS_BUILD_DIR/ghcjs/ghcjs-boot
20-
# - $TRAVIS_BUILD_DIR/ghcjs/lib
21-
# - $TRAVIS_BUILD_DIR/ghcjs/lib/boot/data
22-
# - $TRAVIS_BUILD_DIR/ghcjs/lib/boot/pkg
23-
# - $TRAVIS_BUILD_DIR/ghcjs/utils
24-
# - $TRAVIS_BUILD_DIR/ghcjs/vendor
2513

2614
addons:
2715
apt:
2816
update: false
2917

30-
# `stages` apparently has no effect when `jobs` defined
31-
# stages:
32-
# - clean_stack
33-
# - upgrade_stack
34-
# - build_some_dependencies
35-
# - build_dependencies
36-
# - build
37-
# - test
38-
# - build_ghcjs_dependencies
39-
# - build_ghcjs
40-
# - install_ghcjs
41-
# - boot_ghcjs
42-
# - build_with_ghcjs_dependencies
43-
# - build_with_ghcjs
44-
# - test_with_ghcjs
45-
4618
jobs:
4719
include:
4820
- stage: clean_stack
@@ -546,324 +518,3 @@ jobs:
546518
# - PACKAGE="funblocks-client"
547519
# - JOB=12
548520
# script: *test
549-
# - stage: build_ghcjs_dependencies
550-
# name: "API"
551-
# env:
552-
# - PACKAGE="codeworld-api"
553-
# - JOB=3
554-
# script: &build_ghcjs_dependencies
555-
# - sleep $(((JOB - 1) * 10))
556-
# - travis_retry sudo add-apt-repository --yes ppa:hvr/ghc
557-
# - travis_retry eval $"sudo apt-get update ; sleep 10"
558-
# - travis_retry eval $"sudo apt-get install --yes build-essential cabal-install-2.4 ghc-8.6.5 libgmp-dev haskell-stack ; sleep 10"
559-
# - export PATH=$HOME/.local/bin:$PATH
560-
# - travis_retry eval $"stack upgrade --binary-only ; sleep 10"
561-
# - hash -r
562-
# - travis_retry eval $"stack setup --reinstall ; sleep 10"
563-
# - travis_retry eval $"stack install --resolver lts-14.11 happy-1.19.9 alex-3.2.4 ; sleep 10"
564-
# - nvm install 10
565-
# - export PATH=$PWD/.cabal-sandbox/bin:$HOME/.cabal/bin:/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PATH
566-
# - export
567-
# - cd ghcjs
568-
# - travis_retry git submodule update --init --recursive
569-
# - ./utils/makePackages.sh
570-
# - travis_retry eval $"cabal new-update ; sleep 10"
571-
# - cabal new-configure
572-
# - cabal new-build -j --only-dependencies --disable-optimization
573-
# - stage: build_ghcjs_dependencies
574-
# name: "Base"
575-
# env:
576-
# - PACKAGE="codeworld-base"
577-
# - JOB=5
578-
# script: *build_ghcjs_dependencies
579-
# - stage: build_ghcjs_dependencies
580-
# name: "Prediction"
581-
# env:
582-
# - PACKAGE="codeworld-prediction"
583-
# - JOB=10
584-
# script: *build_ghcjs_dependencies
585-
# - stage: build_ghcjs_dependencies
586-
# name: "Funblocks Client"
587-
# env:
588-
# - PACKAGE="funblocks-client"
589-
# - JOB=12
590-
# script: *build_ghcjs_dependencies
591-
# - stage: build_ghcjs
592-
# name: "API"
593-
# env:
594-
# - PACKAGE="codeworld-api"
595-
# - JOB=3
596-
# script: &build_ghcjs
597-
# - sleep $(((JOB - 1) * 10))
598-
# - travis_retry sudo add-apt-repository --yes ppa:hvr/ghc
599-
# - travis_retry eval $"sudo apt-get update ; sleep 10"
600-
# - travis_retry eval $"sudo apt-get install --yes build-essential cabal-install-2.4 ghc-8.6.5 libgmp-dev haskell-stack ; sleep 10"
601-
# - export PATH=$HOME/.local/bin:$PATH
602-
# - travis_retry eval $"stack upgrade --binary-only ; sleep 10"
603-
# - hash -r
604-
# - travis_retry eval $"stack setup --reinstall ; sleep 10"
605-
# - travis_retry eval $"stack install --resolver lts-14.11 happy-1.19.9 alex-3.2.4 ; sleep 10"
606-
# - nvm install 10
607-
# - export PATH=$PWD/.cabal-sandbox/bin:$HOME/.cabal/bin:/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PATH
608-
# - export
609-
# - cd ghcjs
610-
# - travis_retry git submodule update --init --recursive
611-
# - ./utils/makePackages.sh
612-
# - cabal new-build -j
613-
# - stage: build_ghcjs
614-
# name: "Base"
615-
# env:
616-
# - PACKAGE="codeworld-base"
617-
# - JOB=5
618-
# script: *build_ghcjs
619-
# - stage: build_ghcjs
620-
# name: "Prediction"
621-
# env:
622-
# - PACKAGE="codeworld-prediction"
623-
# - JOB=10
624-
# script: *build_ghcjs
625-
# - stage: build_ghcjs
626-
# name: "Funblocks Client"
627-
# env:
628-
# - PACKAGE="funblocks-client"
629-
# - JOB=12
630-
# script: *build_ghcjs
631-
# - stage: install_ghcjs
632-
# name: "API"
633-
# env:
634-
# - PACKAGE="codeworld-api"
635-
# - JOB=3
636-
# script: &install_ghcjs
637-
# - sleep $(((JOB - 1) * 10))
638-
# - travis_retry sudo add-apt-repository --yes ppa:hvr/ghc
639-
# - travis_retry eval $"sudo apt-get update ; sleep 10"
640-
# - travis_retry eval $"sudo apt-get install --yes build-essential cabal-install-2.4 ghc-8.6.5 libgmp-dev haskell-stack ; sleep 10"
641-
# - export PATH=$HOME/.local/bin:$PATH
642-
# - travis_retry eval $"stack upgrade --binary-only ; sleep 10"
643-
# - hash -r
644-
# - travis_retry eval $"stack setup --reinstall ; sleep 10"
645-
# - travis_retry eval $"stack install --resolver lts-14.11 happy-1.19.9 alex-3.2.4 ; sleep 10"
646-
# - nvm install 10
647-
# - export PATH=$PWD/.cabal-sandbox/bin:$HOME/.cabal/bin:/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PATH
648-
# - export
649-
# - cd ghcjs
650-
# - travis_retry git submodule update --init --recursive
651-
# - ./utils/makePackages.sh
652-
# - cabal new-install --only-dependencies --lib
653-
# - cabal new-install -v --lib
654-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs
655-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-pkg
656-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/haddock-ghcjs
657-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/hsc2hs-ghcjs
658-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-boot
659-
# - stage: install_ghcjs
660-
# name: "Base"
661-
# env:
662-
# - PACKAGE="codeworld-base"
663-
# - JOB=5
664-
# script: *install_ghcjs
665-
# - stage: install_ghcjs
666-
# name: "Prediction"
667-
# env:
668-
# - PACKAGE="codeworld-prediction"
669-
# - JOB=10
670-
# script: *install_ghcjs
671-
# - stage: install_ghcjs
672-
# name: "Funblocks Client"
673-
# env:
674-
# - PACKAGE="funblocks-client"
675-
# - JOB=12
676-
# script: *install_ghcjs
677-
# - stage: boot_ghcjs
678-
# name: "API"
679-
# env:
680-
# - PACKAGE="codeworld-api"
681-
# - JOB=3
682-
# script: &boot_ghcjs
683-
# - sleep $(((JOB - 1) * 1))
684-
# - travis_retry sudo add-apt-repository --yes ppa:hvr/ghc
685-
# - travis_retry eval $"sudo apt-get update ; sleep 1"
686-
# - travis_retry eval $"sudo apt-get install --yes build-essential cabal-install-2.4 ghc-8.6.5 libgmp-dev haskell-stack ; sleep 1"
687-
# - export PATH=$HOME/.local/bin:$PATH
688-
# - travis_retry eval $"stack upgrade --binary-only ; sleep 1"
689-
# - hash -r
690-
# - travis_retry eval $"stack setup --reinstall ; sleep 1"
691-
# - travis_retry eval $"stack install --resolver lts-14.11 happy-1.19.9 alex-3.2.4 ; sleep 1"
692-
# - nvm install 10
693-
# - export PATH=$PWD/.cabal-sandbox/bin:$HOME/.cabal/bin:/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PATH
694-
# - export
695-
# - travis_retry git submodule update --init --recursive
696-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs
697-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-pkg
698-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/haddock-ghcjs
699-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/hsc2hs-ghcjs
700-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-boot
701-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-run
702-
# - cd ghcjs
703-
# - travis_retry git submodule update --init --recursive
704-
# - ./utils/makePackages.sh
705-
# - ghcjs --version
706-
# - ghcjs-boot --verbosity 0 -j 2 -s $TRAVIS_BUILD_DIR/ghcjs/lib/boot --no-haddock --no-prof
707-
# - cabal --ghcjs --version
708-
# - stage: boot_ghcjs
709-
# name: "Base"
710-
# env:
711-
# - PACKAGE="codeworld-base"
712-
# - JOB=5
713-
# script: *boot_ghcjs
714-
# - stage: boot_ghcjs
715-
# name: "Prediction"
716-
# env:
717-
# - PACKAGE="codeworld-prediction"
718-
# - JOB=10
719-
# script: *boot_ghcjs
720-
# - stage: boot_ghcjs
721-
# name: "Funblocks Client"
722-
# env:
723-
# - PACKAGE="funblocks-client"
724-
# - JOB=12
725-
# script: *boot_ghcjs
726-
# - stage: build_with_ghcjs_dependencies
727-
# name: "API (with ghcjs)"
728-
# env:
729-
# - PACKAGE="codeworld-api"
730-
# - JOB=3
731-
# script: &build_with_ghcjs_dependencies
732-
# - sleep $(((JOB - 1) * 10))
733-
# - travis_retry sudo add-apt-repository --yes ppa:hvr/ghc
734-
# - travis_retry eval $"sudo apt-get update ; sleep 10"
735-
# - travis_retry eval $"sudo apt-get install --yes build-essential cabal-install-2.4 ghc-8.6.5 libgmp-dev haskell-stack ; sleep 10"
736-
# - export PATH=$HOME/.local/bin:$PATH
737-
# - travis_retry eval $"stack upgrade --binary-only ; sleep 10"
738-
# - hash -r
739-
# - travis_retry eval $"stack setup --reinstall ; sleep 10"
740-
# - travis_retry eval $"stack install --resolver lts-14.11 happy-1.19.9 alex-3.2.4 ; sleep 10"
741-
# - nvm install 10
742-
# - export PATH=$PWD/.cabal-sandbox/bin:$HOME/.cabal/bin:/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PATH
743-
# - export
744-
# - travis_retry git submodule update --init --recursive
745-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs
746-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-pkg
747-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/haddock-ghcjs
748-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/hsc2hs-ghcjs
749-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-boot
750-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-run
751-
# - cd ghcjs
752-
# - travis_retry git submodule update --init --recursive
753-
# - ./utils/makePackages.sh
754-
# - cd $TRAVIS_BUILD_DIR
755-
# - travis_retry eval $"cabal new-update ; sleep 10"
756-
# - cabal --ghcjs new-configure $PACKAGE
757-
# - cabal --ghcjs new-build -j --only-dependencies $PACKAGE
758-
# - stage: build_with_ghcjs_dependencies
759-
# name: "Base (with ghcjs)"
760-
# env:
761-
# - PACKAGE="codeworld-base"
762-
# - JOB=5
763-
# script: *build_with_ghcjs_dependencies
764-
# - stage: build_with_ghcjs_dependencies
765-
# name: "Prediction (with ghcjs)"
766-
# env:
767-
# - PACKAGE="codeworld-prediction"
768-
# - JOB=10
769-
# script: *build_with_ghcjs_dependencies
770-
# - stage: build_with_ghcjs_dependencies
771-
# name: "Funblocks Client (with ghcjs)"
772-
# env:
773-
# - PACKAGE="funblocks-client"
774-
# - JOB=12
775-
# script: *build_with_ghcjs_dependencies
776-
# - stage: build_with_ghcjs
777-
# name: "API (with ghcjs)"
778-
# env:
779-
# - PACKAGE="codeworld-api"
780-
# - JOB=3
781-
# script: &build_with_ghcjs
782-
# - sleep $(((JOB - 1) * 10))
783-
# - travis_retry sudo add-apt-repository --yes ppa:hvr/ghc
784-
# - travis_retry eval $"sudo apt-get update ; sleep 10"
785-
# - travis_retry eval $"sudo apt-get install --yes build-essential cabal-install-2.4 ghc-8.6.5 libgmp-dev haskell-stack ; sleep 10"
786-
# - export PATH=$HOME/.local/bin:$PATH
787-
# - travis_retry eval $"stack upgrade --binary-only ; sleep 10"
788-
# - hash -r
789-
# - travis_retry eval $"stack setup --reinstall ; sleep 10"
790-
# - travis_retry eval $"stack install --resolver lts-14.11 happy-1.19.9 alex-3.2.4 ; sleep 10"
791-
# - nvm install 10
792-
# - export PATH=$PWD/.cabal-sandbox/bin:$HOME/.cabal/bin:/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PATH
793-
# - export
794-
# - travis_retry git submodule update --init --recursive
795-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs
796-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-pkg
797-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/haddock-ghcjs
798-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/hsc2hs-ghcjs
799-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-boot
800-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-run
801-
# - cd ghcjs
802-
# - travis_retry git submodule update --init --recursive
803-
# - ./utils/makePackages.sh
804-
# - cd $TRAVIS_BUILD_DIR
805-
# - travis_retry eval $"cabal new-update ; sleep 10"
806-
# - cabal --ghcjs new-configure $PACKAGE
807-
# - cabal --ghcjs new-build -j $PACKAGE
808-
# - stage: build_with_ghcjs
809-
# name: "Base (with ghcjs)"
810-
# env:
811-
# - PACKAGE="codeworld-base"
812-
# - JOB=5
813-
# script: *build_with_ghcjs
814-
# - stage: build_with_ghcjs
815-
# name: "Prediction (with ghcjs)"
816-
# env:
817-
# - PACKAGE="codeworld-prediction"
818-
# - JOB=10
819-
# script: *build_with_ghcjs
820-
# - stage: build_with_ghcjs
821-
# name: "Funblocks Client (with ghcjs)"
822-
# env:
823-
# - PACKAGE="funblocks-client"
824-
# - JOB=12
825-
# script: *build_with_ghcjs
826-
# - stage: test_with_ghcjs
827-
# name: "API (with ghcjs)"
828-
# env:
829-
# - PACKAGE="codeworld-api"
830-
# - JOB=3
831-
# script: &test_with_ghcjs
832-
# - sleep $(((JOB - 1) * 10))
833-
# - travis_retry sudo add-apt-repository --yes ppa:hvr/ghc
834-
# - travis_retry eval $"sudo apt-get update ; sleep 10"
835-
# - travis_retry eval $"sudo apt-get install --yes build-essential cabal-install-2.4 ghc-8.6.5 libgmp-dev haskell-stack ; sleep 10"
836-
# - export PATH=$HOME/.local/bin:$PATH
837-
# - travis_retry eval $"stack upgrade --binary-only ; sleep 10"
838-
# - hash -r
839-
# - travis_retry eval $"stack setup --reinstall ; sleep 10"
840-
# - travis_retry eval $"stack install --resolver lts-14.11 happy-1.19.9 alex-3.2.4 ; sleep 10"
841-
# - nvm install 10
842-
# - export PATH=$PWD/.cabal-sandbox/bin:$HOME/.cabal/bin:/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PATH
843-
# - export
844-
# - travis_retry git submodule update --init --recursive
845-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs
846-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-pkg
847-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/haddock-ghcjs
848-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/hsc2hs-ghcjs
849-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-boot
850-
# - sudo ln -fs $TRAVIS_BUILD_DIR/ghcjs/utils/dist-newstyle-wrapper.sh /usr/bin/ghcjs-run
851-
# - cd ghcjs
852-
# - travis_retry git submodule update --init --recursive
853-
# - ./utils/makePackages.sh
854-
# - cd $TRAVIS_BUILD_DIR
855-
# - travis_retry eval $"cabal new-update ; sleep 10"
856-
# - cabal --ghcjs new-configure $PACKAGE
857-
# - cabal --ghcjs new-test $PACKAGE
858-
# - stage: test_with_ghcjs
859-
# name: "Prediction (with ghcjs)"
860-
# env:
861-
# - PACKAGE="codeworld-prediction"
862-
# - JOB=10
863-
# script: *test_with_ghcjs
864-
# # - stage: test_with_ghcjs
865-
# # name: "Funblocks Client (with ghcjs)"
866-
# # env:
867-
# # - PACKAGE="funblocks-client"
868-
# # - JOB=12
869-
# # script: *test_with_ghcjs

0 commit comments

Comments
 (0)